UNPKG

iter-tools-es

Version:
18 lines (14 loc) 449 B
const { asyncIterableCurry } = require('../../internal/async-iterable.js'); const { __asyncInterposeSeq } = require('../$interpose-seq/async-interpose-seq.js'); function __asyncInterpose(source, value) { return __asyncInterposeSeq(source, [value]); } exports.__asyncInterpose = __asyncInterpose; const asyncInterpose = /*#__PURE__*/asyncIterableCurry(__asyncInterpose, { validateArgs(args) {} }); exports.asyncInterpose = asyncInterpose;