aboutsummaryrefslogtreecommitdiffstats
path: root/node_modules/rxjs/dist/esm5/internal/operators/publish.js
diff options
context:
space:
mode:
Diffstat (limited to 'node_modules/rxjs/dist/esm5/internal/operators/publish.js')
-rw-r--r--node_modules/rxjs/dist/esm5/internal/operators/publish.js7
1 files changed, 7 insertions, 0 deletions
diff --git a/node_modules/rxjs/dist/esm5/internal/operators/publish.js b/node_modules/rxjs/dist/esm5/internal/operators/publish.js
new file mode 100644
index 0000000..8d003f9
--- /dev/null
+++ b/node_modules/rxjs/dist/esm5/internal/operators/publish.js
@@ -0,0 +1,7 @@
+import { Subject } from '../Subject';
+import { multicast } from './multicast';
+import { connect } from './connect';
+export function publish(selector) {
+ return selector ? function (source) { return connect(selector)(source); } : function (source) { return multicast(new Subject())(source); };
+}
+//# sourceMappingURL=publish.js.map \ No newline at end of file
send patches to the email below
yukais@pinapelz.com
include the subject [PATCH repo_name]
pinapelz.com
homepage