Interface AsyncIterator<T, TReturn, TNext>
Type parameters
T
TReturn = any
TNext = undefined
Methods
next
Parameters
Rest ...args: [] | [TNext]
Returns Promise<IteratorResult<T, TReturn>>
Optional return
Parameters
Returns Promise<IteratorResult<T, TReturn>>
Optional throw
Parameters
Returns Promise<IteratorResult<T, TReturn>>