We have multiple ways to collect synchronous iterables - like Array.from, Promise.all, new Set(iterable) etc.
Though, the only way to consume asynchronous iterable is currently single syntax construct or manual consumption. I believe that's a serious flaw that would significantly slow down adoption of async iterators.
We have multiple ways to collect synchronous iterables - like
Array.from
,Promise.all
,new Set(iterable)
etc.Though, the only way to consume asynchronous iterable is currently single syntax construct or manual consumption. I believe that's a serious flaw that would significantly slow down adoption of async iterators.