Type Alias: OffsetPageReader
@kortexya/reasoninglayer / OffsetPageReader
Type Alias: OffsetPageReader<TItem>
Section titled “Type Alias: OffsetPageReader<TItem>”OffsetPageReader<
TItem> = (window,requestOptions?) =>Promise<OffsetPage<TItem>>
Defined in: src/pagination.ts:36
Read one page of a limit/offset endpoint.
Type Parameters
Section titled “Type Parameters”TItem
Parameters
Section titled “Parameters”window
Section titled “window”number
offset
Section titled “offset”number
requestOptions?
Section titled “requestOptions?”Returns
Section titled “Returns”Promise<OffsetPage<TItem>>