UNPKG

@reactivex/ix-esnext-esm

Version:

The Interactive Extensions for JavaScript

11 lines (9 loc) 385 B
import { AsyncIterableX } from '../../asynciterable/asynciterablex'; import { zip } from '../../asynciterable/zip'; export function zipProto(...args) { let [arg1, ...sources] = args; sources = typeof arg1 === 'function' ? [this, ...sources] : (arg1 = this) && args; return zip(arg1, ...sources); } AsyncIterableX.prototype.zip = zipProto; //# sourceMappingURL=zip.mjs.map