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