UNPKG

iterama

Version:

Composable functional (async) iterable helpers

17 lines (13 loc) 357 B
Object.defineProperty(exports, "__esModule", { value: true }); exports.concatAsync = void 0; var _iterateAsync = require("./iterate-async"); const concatAsync = iterables => ({ async *[Symbol.asyncIterator]() { for await (const it of iterables) { yield* (0, _iterateAsync.iterateAsync)(it); } } }); exports.concatAsync = concatAsync;