Class: Continuable<T>
Represents a continuable list of items T
(like pagination)
Type parameters
Name |
---|
T |
Hierarchy
↳
Continuable
↳↳
ChannelLive
↳↳
VideoRelated
↳↳
SearchResult
Properties
client
• client: Client
An instance of Client
Inherited from
continuation
• Optional
continuation: null
| string
items
• items: T
[] = []
Methods
next
▸ next(count?
): Promise
<T
[]>
Fetch next items using continuation token
Parameters
Name | Type | Default value |
---|---|---|
count | number | 1 |
Returns
Promise
<T
[]>