rxjs-compat
Version:
[](https://circleci.com/gh/ReactiveX/rxjs/tree/6.x) [](http://badge.fury.io/js/%40reactivex%2Frxjs) [![Join the chat
8 lines • 380 B
JavaScript
import { shareReplay as higherOrder } from 'rxjs/operators';
export function shareReplay(configOrBufferSize, windowTime, scheduler) {
if (configOrBufferSize && typeof configOrBufferSize === 'object') {
return higherOrder(configOrBufferSize)(this);
}
return higherOrder(configOrBufferSize, windowTime, scheduler)(this);
}
//# sourceMappingURL=shareReplay.js.map