UNPKG

@acutmore/rxjs

Version:

Reactive Extensions for modern JavaScript

8 lines 365 B
import { Observable } from '../../internal/Observable'; import { shareReplay } from '../../internal/patching/operator/shareReplay'; // v4-backwards-compatibility Observable.prototype.shareReplay_persisted = shareReplay; Observable.prototype.shareReplay = function (count) { return this.publishReplay(count).refCount(); }; //# sourceMappingURL=shareReplay.js.map