module@warp-drive/experiments/pagination @experimental
Function getPaginationCache() sincev5.9.0
ts
function getPaginationCache<RT, E>(key: string): PaginationCache<RT, E>;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>