The [@@asyncIterator]()
method of AsyncIterator
instances implements the async iterable protocol and allows built-in async iterators to be consumed by most syntaxes expecting async iterables, such as for await...of
loops. It returns the value of this
, which is the async iterator object itself.