@limitry/client - v0.4.1
Docs
GitHub
Preparing search index...
collectAll
Function collectAll
collectAll
<
T
>
(
fetchPage
:
(
cursor
?:
string
)
=>
Promise
<
PaginatedResponse
<
T
>
>
,
)
:
Promise
<
T
[]
>
Collect all items from paginated endpoint into an array
Type Parameters
T
Parameters
fetchPage
:
(
cursor
?:
string
)
=>
Promise
<
PaginatedResponse
<
T
>
>
Returns
Promise
<
T
[]
>
Settings
Member Visibility
Inherited
External
Theme
OS
Light
Dark
Docs
GitHub
@limitry/client - v0.4.1
Loading...
Collect all items from paginated endpoint into an array