Docs
chromia.com

Type Alias

EntityRetriever<T>

On this page
type EntityRetriever<T> = {
    retrieve: (
        limit?: number,
        cursor?: OptionalPageCursor,
    ) => Promise<PaginatedEntity<T>>;
}

Type Parameters

  • T

Properties

retrieve

retrieve: (
    limit?: number,
    cursor?: OptionalPageCursor,
) => Promise<PaginatedEntity<T>>

Retrieves a page of the data

Type Declaration