UNPKG

rxjs

Version:

Reactive Extensions for modern JavaScript

6 lines 351 B
import { ReplaySubject } from '../ReplaySubject'; import { multicast } from './multicast'; export function publishReplay(bufferSize = Number.POSITIVE_INFINITY, windowTime = Number.POSITIVE_INFINITY, scheduler) { return (source) => multicast(new ReplaySubject(bufferSize, windowTime, scheduler))(source); } //# sourceMappingURL=publishReplay.js.map