UNPKG

ix

Version:

The Interactive Extensions for JavaScript

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