Type alias EntityRetriever<T>

EntityRetriever<T>: {
    retrieve: ((limit?, cursor?) => Promise<PaginatedEntity<T>>);
}

Type Parameters

  • T

Type declaration

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

    Retrieves a page of the data

    Returns

    a page staring at cursor location and containing at most limit number of items.