Interface AsyncIterator<T, TReturn, TNext>
Type Parameters
- T
- TReturn = any
- TNext = any
Methods
next
- next(...__namedParameters): Promise<IteratorResult<T, TReturn>>
Parameters
Rest
...__namedParameters: [] | [TNext]
Optional
return
- return(value?): Promise<IteratorResult<T, TReturn>>
Optional
throw
- throw(e?): Promise<IteratorResult<T, TReturn>>