tc39 / proposal-array-from-async

Draft specification for a proposed Array.fromAsync method in JavaScript.
http://tc39.es/proposal-array-from-async/
BSD 3-Clause "New" or "Revised" License
179 stars 13 forks source link

Revert #20 and do not await async inputs’ values without mapping ƒ #27

Closed js-choi closed 2 years ago

js-choi commented 2 years ago

Resolves #19. See https://github.com/tc39/proposal-array-from-async/issues/19#issuecomment-1179810964.

The intent is to match the behavior of for await and iterator-helpers’ AsyncIterator.prototype.toArray.