iter-tools-es
Version:
The iterable toolbox
18 lines (14 loc) • 449 B
JavaScript
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;