Library Documentation
NPM
GitHub
Preparing search index...
The search index is not available
Amplify JS API Documentation
Amplify JS API Documentation
aws-amplify
datastore
<Reference Types>
"/home/runner/work/amplify-js/amplify-js/amplify-js/packages/datastore/dist/esm/types"
AsyncCollection
Interface AsyncCollection<T>
interface
AsyncCollection
<
T
>
{
[asyncIterator]
(
)
:
AsyncIterator
<
T
,
any
,
undefined
>
;
toArray
(
options
?
)
:
Promise
<
T
[]
>
;
}
Type Parameters
T
Hierarchy (
view full
)
AsyncIterable
<
T
>
AsyncCollection
Index
Methods
[async
Iterator]
to
Array
Methods
[async
Iterator]
[async
Iterator]
(
)
:
AsyncIterator
<
T
,
any
,
undefined
>
Returns
AsyncIterator
<
T
,
any
,
undefined
>
to
Array
to
Array
(
options
?
)
:
Promise
<
T
[]
>
Parameters
Optional
options
:
{
max
?:
number
;
}
Optional
max
?:
number
Returns
Promise
<
T
[]
>
Settings
Member Visibility
Protected
Private
Inherited
External
Theme
OS
Light
Dark
On This Page
[async
Iterator]
to
Array
Amplify JS API Documentation
aws-amplify
@aws-amplify
geo
interactions
predictions
pubsub
adapter-nextjs
datastore-storage-adapter