aboutsummaryrefslogtreecommitdiffstats
path: root/node_modules/rxjs/dist/esm5/internal/operators/materialize.js
diff options
context:
space:
mode:
Diffstat (limited to 'node_modules/rxjs/dist/esm5/internal/operators/materialize.js')
-rw-r--r--node_modules/rxjs/dist/esm5/internal/operators/materialize.js17
1 files changed, 17 insertions, 0 deletions
diff --git a/node_modules/rxjs/dist/esm5/internal/operators/materialize.js b/node_modules/rxjs/dist/esm5/internal/operators/materialize.js
new file mode 100644
index 0000000..f2c4839
--- /dev/null
+++ b/node_modules/rxjs/dist/esm5/internal/operators/materialize.js
@@ -0,0 +1,17 @@
+import { Notification } from '../Notification';
+import { operate } from '../util/lift';
+import { createOperatorSubscriber } from './OperatorSubscriber';
+export function materialize() {
+ return operate(function (source, subscriber) {
+ source.subscribe(createOperatorSubscriber(subscriber, function (value) {
+ subscriber.next(Notification.createNext(value));
+ }, function () {
+ subscriber.next(Notification.createComplete());
+ subscriber.complete();
+ }, function (err) {
+ subscriber.next(Notification.createError(err));
+ subscriber.complete();
+ }));
+ });
+}
+//# sourceMappingURL=materialize.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