Skip to main content
Skip to main content

AsyncIterator

Type parameters

TobjectRequired
TReturnobjectRequired
TNextobjectRequired

Methods

next

Parameters

args[] | [TNext]Required

Returns

PromisePromise<IteratorResult<T, TReturn>>Required

return

Parameters

valueTReturn | PromiseLike<TReturn>

Returns

PromisePromise<IteratorResult<T, TReturn>>Required

throw

Parameters

eany

Returns

PromisePromise<IteratorResult<T, TReturn>>Required
Was this section helpful?