UNPKG

@reactivex/ix-esnext-esm

Version:

The Interactive Extensions for JavaScript

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