selectCachePage
Returns the ascending page Discord would return for the cursor: the lowest ids after `after`, or the highest ids before `before`. Keeps the worst candidate at the heap root so only the selected page is ever sorted.
Signature
export declare function selectCachePage(ids: string[], query: ListQuery, limit: number): string[];Private types
ListQueryTypeAlias
type ListQuery = { limit?: number; before?: string; after?: string;};Members
This export does not declare public properties or methods in the generated declaration file.