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:
315 bytes
|
Line | |
---|
1 | import { multicast } from './multicast';
|
---|
2 | import { refCount } from './refCount';
|
---|
3 | import { Subject } from '../Subject';
|
---|
4 | function shareSubjectFactory() {
|
---|
5 | return new Subject();
|
---|
6 | }
|
---|
7 | export function share() {
|
---|
8 | return (source) => refCount()(multicast(shareSubjectFactory)(source));
|
---|
9 | }
|
---|
10 | //# sourceMappingURL=share.js.map |
---|
Note:
See
TracBrowser
for help on using the repository browser.