Used to wrap a potentially async iterator in such a way so that it wraps the result
of calling iterator methods of o in __await instances, and then yields the awaited values.
Parameters
o: any
The potentially async iterator.
Returns any
A synchronous iterator yielding __await instances on every odd invocation
and returning the awaited IteratorResult passed to next every even invocation.
Used to wrap a potentially async iterator in such a way so that it wraps the result of calling iterator methods of
o
in__await
instances, and then yields the awaited values.