UNPKG

iterama

Version:

Composable functional (async) iterable helpers

14 lines (11 loc) 239 B
Object.defineProperty(exports, "__esModule", { value: true }); exports.startWith = void 0; const startWith = value => iterable => ({ *[Symbol.iterator]() { yield value; yield* iterable; } }); exports.startWith = startWith;