Library Documentation
NPM
GitHub
Preparing search index...
The search index is not available
Amplify JS API Documentation
Amplify JS API Documentation
aws-amplify
api
<Reference Types>
LazyLoader
Type alias LazyLoader<T, IsArray>
Lazy
Loader
<
T
,
IsArray
>
:
(
(
options
?
)
=>
IsArray
extends
true
?
ListReturnValue
<
Prettify
<
NonNullable
<
T
>
>
>
:
SingularReturnValue
<
Prettify
<
T
>
>
)
Type Parameters
T
IsArray
extends
boolean
Type declaration
(
options
?
)
:
IsArray
extends
true
?
ListReturnValue
<
Prettify
<
NonNullable
<
T
>
>
>
:
SingularReturnValue
<
Prettify
<
T
>
>
Parameters
Optional
options
:
IsArray
extends
true
?
{
authMode
?:
AuthMode
;
authToken
?:
string
;
headers
?:
CustomHeaders
;
limit
?:
number
;
nextToken
?:
string
|
null
;
}
:
{
authMode
?:
AuthMode
;
authToken
?:
string
;
headers
?:
CustomHeaders
;
}
Returns
IsArray
extends
true
?
ListReturnValue
<
Prettify
<
NonNullable
<
T
>
>
>
:
SingularReturnValue
<
Prettify
<
T
>
>
Settings
Member Visibility
Protected
Private
Inherited
External
Theme
OS
Light
Dark
Amplify JS API Documentation
aws-amplify
@aws-amplify
geo
interactions
predictions
pubsub
adapter-nextjs
datastore-storage-adapter