CreatePaginatorOptionsMaybeAsync
type CreatePaginatorOptionsMaybeAsync<T, TCursor> = object;Defined in: pagination.ts:141
Loosest configuration: fetchers and codec stages may all be async.
Type Parameters
Section titled “Type Parameters”| Type Parameter |
|---|
T |
TCursor extends Record<string, unknown> |
Properties
Section titled “Properties”cursor?
Section titled “cursor?”cursor?: PaginatorCursorOptions<T, TCursor>;Defined in: pagination.ts:144
fetchCursor?
Section titled “fetchCursor?”fetchCursor?: (window) => MaybePromise<PaginationFetchResult<T>>;Defined in: pagination.ts:143
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
window |
CursorWindow<TCursor> |
Returns
Section titled “Returns”MaybePromise<PaginationFetchResult<T>>
fetchOffset?
Section titled “fetchOffset?”fetchOffset?: (window) => MaybePromise<PaginationFetchResult<T>>;Defined in: pagination.ts:142
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
window |
OffsetWindow |
Returns
Section titled “Returns”MaybePromise<PaginationFetchResult<T>>
maxLimit?
Section titled “maxLimit?”maxLimit?: number;Defined in: pagination.ts:145