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

Last change on this file since 6a3a178 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.