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 */
|
---|
2 | import { multicast } from './multicast';
|
---|
3 | import { refCount } from './refCount';
|
---|
4 | import { Subject } from '../Subject';
|
---|
5 | function shareSubjectFactory() {
|
---|
6 | return new Subject();
|
---|
7 | }
|
---|
8 | export 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.