Identifies the type of the values returned by the async iterator
Returns a promise for the next result of the iteration.
Optional value to pass to the iterator
OptionalreturnOptionally signals that the caller has finished with the iterator.
Optionalvalue: any
The value to be returned
OptionalthrowOptionally signals that the caller has detected an error.
Optionale: any
The error
The async iterator returned by an IAsyncIterable, it is compatible with the native
AsyncIteratortype which is only available when using the ES2018 (or later) lib.Since
0.20.0