source: trip-planner-front/node_modules/rxjs/_esm5/internal/operators/share.js

Last change on this file was 6a3a178, checked in by Ema <ema_spirova@…>, 3 years ago

initial commit

  • Property mode set to 100644
File size: 407 bytes
Line 
1/** PURE_IMPORTS_START _multicast,_refCount,_Subject PURE_IMPORTS_END */
2import { multicast } from './multicast';
3import { refCount } from './refCount';
4import { Subject } from '../Subject';
5function shareSubjectFactory() {
6 return new Subject();
7}
8export function share() {
9 return function (source) { return refCount()(multicast(shareSubjectFactory)(source)); };
10}
11//# sourceMappingURL=share.js.map
Note: See TracBrowser for help on using the repository browser.