@async-iterable-iterator/async-iterable-to-array
v0.0.1
Published
AsyncIterable to Array conversion for JavaScript
Downloads
420
Readme
:dango: @async-iterable-iterator/async-iterable-to-array
AsyncIterable to Array conversion for JavaScript. See docs.
:warning: Depending on your environment, the code may require
regeneratorRuntime
to be defined, for instance by importing regenerator-runtime/runtime.
import {asyncIterableToArray} from '@async-iterable-iterator/async-iterable-to-array';
let asyncIterable = ...;
let array = await asyncIterableToArray(asyncIterable);