UNPKG

iter-tools-es

Version:
14 lines (12 loc) 394 B
const { asyncWrapWithIterableIterator, asyncEnsureIterable } = require('../../internal/async-iterable.js'); async function* __asyncConcat(...sources) { for (const iterable of sources) { yield* asyncEnsureIterable(iterable); } } exports.__asyncConcat = __asyncConcat; const asyncConcat = /*#__PURE__*/asyncWrapWithIterableIterator(__asyncConcat); exports.asyncConcat = asyncConcat;