UNPKG

@acutmore/rxjs

Version:

Reactive Extensions for modern JavaScript

36 lines 2.17 kB
"use strict"; // v4-backwards-compatibility Object.defineProperty(exports, "__esModule", { value: true }); var Observable_1 = require("../../internal/Observable"); var race_1 = require("../../internal/patching/operator/race"); Observable_1.Observable.prototype.amb = race_1.race; var bufferCount_1 = require("../../internal/patching/operator/bufferCount"); Observable_1.Observable.prototype.bufferWithCount = bufferCount_1.bufferCount; var bufferTime_1 = require("../../internal/patching/operator/bufferTime"); Observable_1.Observable.prototype.bufferWithTime = bufferTime_1.bufferTime; var do_1 = require("../../internal/patching/operator/do"); Observable_1.Observable.prototype.doOnNext = do_1._do; Observable_1.Observable.prototype.doOnError = function doOnError(cb) { return this.do(undefined, cb); }; Observable_1.Observable.prototype.doOnCompleted = function doOnCompleted(cb) { return this.do(undefined, undefined, cb); }; var exhaustMap_1 = require("../../internal/patching/operator/exhaustMap"); Observable_1.Observable.prototype.flatMapFirst = exhaustMap_1.exhaustMap; var switchMap_1 = require("../../internal/patching/operator/switchMap"); Observable_1.Observable.prototype.flatMapLatest = switchMap_1.switchMap; Observable_1.Observable.prototype.flatMapWithMaxConcurrent = function (count, map) { return this.mergeMap(map, count); }; var pausableBuffered_1 = require("../../internal/patching/operator/pausableBuffered"); Observable_1.Observable.prototype.pausableBuffered_deprecated = pausableBuffered_1.pausableBuffered; var exhaust_1 = require("../../internal/patching/operator/exhaust"); Observable_1.Observable.prototype.switchFirst = exhaust_1.exhaust; var switch_1 = require("../../internal/patching/operator/switch"); Observable_1.Observable.prototype.switchLatest = switch_1._switch; var windowCount_1 = require("../../internal/patching/operator/windowCount"); Observable_1.Observable.prototype.windowWithCount = windowCount_1.windowCount; var windowTime_1 = require("../../internal/patching/operator/windowTime"); Observable_1.Observable.prototype.windowWithTime = windowTime_1.windowTime; //# sourceMappingURL=backwards-compatibility.js.map