iter-tools-es
Version:
The iterable toolbox
12 lines (10 loc) • 302 B
JavaScript
const {
asyncIterableCurry
} = require('../../internal/async-iterable.js');
async function* __asyncAppend(source, value) {
yield* source;
yield value;
}
exports.__asyncAppend = __asyncAppend;
const asyncAppend = /*#__PURE__*/asyncIterableCurry(__asyncAppend);
exports.asyncAppend = asyncAppend;