UNPKG

axax

Version:

A library of async iterator extensions for JavaScript including ```map```, ```reduce```, ```filter```, ```flatMap```, ```pipe``` and [more](https://github.com/jamiemccrindle/axax/blob/master/docs/API.md#functions).

12 lines (11 loc) 237 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); /** * Converts array to an async iterable */ async function* from(values) { for (const item of values) { yield item; } } exports.from = from;