Last change
on this file since ceaed42 was 6a3a178, checked in by Ema <ema_spirova@…>, 3 years ago |
initial commit
|
-
Property mode
set to
100644
|
File size:
462 bytes
|
Line | |
---|
1 | "use strict";
|
---|
2 | Object.defineProperty(exports, "__esModule", { value: true });
|
---|
3 | var multicast_1 = require("./multicast");
|
---|
4 | var refCount_1 = require("./refCount");
|
---|
5 | var Subject_1 = require("../Subject");
|
---|
6 | function shareSubjectFactory() {
|
---|
7 | return new Subject_1.Subject();
|
---|
8 | }
|
---|
9 | function share() {
|
---|
10 | return function (source) { return refCount_1.refCount()(multicast_1.multicast(shareSubjectFactory)(source)); };
|
---|
11 | }
|
---|
12 | exports.share = share;
|
---|
13 | //# sourceMappingURL=share.js.map |
---|
Note:
See
TracBrowser
for help on using the repository browser.