Skip to main content

Class: Continuable<T>

Represents a continuable list of items T (like pagination)

Type parameters

Name
T

Hierarchy

Properties

client

client: Client

An instance of Client

Inherited from

Base.client


continuation

Optional continuation: null | string


items

items: T[] = []

Methods

next

next(count?): Promise<T[]>

Fetch next items using continuation token

Parameters

NameTypeDefault value
countnumber1

Returns

Promise<T[]>