Skip to content
module@warp-drive/experiments/pagination @experimental

Function getPaginationCache() sincev5.9.0 ​

ts
function getPaginationCache<RT, E>(key: string): PaginationCache<RT, E>;

Defined in: warp-drive-packages/core/src/signals/pagination-cache.ts:259

Get the shared PaginationCache for a given cache key (the collection's first or self link). Returns the same instance for the same key for the lifetime of the module.

Type Parameters ​

RT ​

RT

E ​

E

Parameters ​

key ​

string

Returns ​

PaginationCache<RT, E>

Released under the MIT License.