Closed kitten closed 1 year ago
This implements a toAsyncIterable helper, as per the ECMAScript spec and protocol. The return AsyncIterable creates an AsyncIterator when [Symbol.asyncIterator] is called, as per the spec.
toAsyncIterable
AsyncIterable
AsyncIterator
[Symbol.asyncIterator]
This supersedes #125
This implements a
toAsyncIterable
helper, as per the ECMAScript spec and protocol. The returnAsyncIterable
creates anAsyncIterator
when[Symbol.asyncIterator]
is called, as per the spec.This supersedes #125