Interface IPaginatedResponse<T>

Type Parameters

  • T

Hierarchy

  • IPaginatedResponse

Properties

count: number
done: boolean
iterator: (() => IterableIterator<Promise<T[]>>)

Type declaration

    • (): IterableIterator<Promise<T[]>>
    • Returns IterableIterator<Promise<T[]>>

next?: (() => Promise<IteratorResult<T[], any>>)

Type declaration

    • (): Promise<IteratorResult<T[], any>>
    • Returns Promise<IteratorResult<T[], any>>

previous?: (() => Promise<IteratorResult<T[], any>>)

Type declaration

    • (): Promise<IteratorResult<T[], any>>
    • Returns Promise<IteratorResult<T[], any>>

results: T[]

Generated using TypeDoc