Skip to main content

CursorPager

Defined in: packages/query-db-collection/src/cursor-pagination.ts:24

Type Parameters

T

T

Properties

read()

read: (window, signal?) => Promise<T[]>;

Defined in: packages/query-db-collection/src/cursor-pagination.ts:25

Parameters

window
limit?

number

offset?

number

signal?

AbortSignal

Returns

Promise<T[]>


reset()

reset: () => void;

Defined in: packages/query-db-collection/src/cursor-pagination.ts:30

Remove this key's cached pages and invalidate this pager's queued reads.

Returns

void