UNPKG

iter-tools-es

Version:
18 lines (14 loc) 448 B
const { asyncIterableCurry } = require('../../internal/async-iterable.js'); const { __asyncJoinWithSeq } = require('../$join-with-seq/async-join-with-seq.js'); function __asyncJoinWith(source, separator) { return __asyncJoinWithSeq(source, [separator]); } exports.__asyncJoinWith = __asyncJoinWith; const asyncJoinWith = /*#__PURE__*/asyncIterableCurry(__asyncJoinWith, { validateArgs(args) {} }); exports.asyncJoinWith = asyncJoinWith;