Class SeamPaginator<TResponse, TResponseKey>

Type Parameters

  • const TResponse
  • const TResponseKey extends keyof TResponse

Implements

Constructors

Methods

  • Returns AsyncGenerator<EnsureReadonlyArray<TResponse[TResponseKey]>, any, unknown>

  • Returns AsyncGenerator<EnsureReadonlyArray<TResponse[TResponseKey]>, any, unknown>

  • Parameters

    • nextPageCursor: null | PageCursor

    Returns Promise<[EnsureReadonlyArray<TResponse[TResponseKey]>, Pagination]>