Skip to content

Latest commit

 

History

History
30 lines (24 loc) · 3.01 KB

README.md

File metadata and controls

30 lines (24 loc) · 3.01 KB

AsyncIterator to Array conversion for JavaScript. See docs.

⚠️ Depending on your environment, the code may require regeneratorRuntime to be defined, for instance by importing regenerator-runtime/runtime.

import {asyncIteratorToArray} from '@async-iterable-iterator/async-iterator-to-array';

let asyncIterator = ...;
let array = await asyncIteratorToArray(asyncIterator);

License Version Tests Dependencies GitHub issues Downloads

Code issues Code maintainability Code coverage (cov) Code technical debt Documentation Package size