aboutsummaryrefslogtreecommitdiffstats
path: root/node_modules/rxjs/dist/cjs/internal/NotificationFactories.js
diff options
context:
space:
mode:
Diffstat (limited to 'node_modules/rxjs/dist/cjs/internal/NotificationFactories.js')
-rw-r--r--node_modules/rxjs/dist/cjs/internal/NotificationFactories.js21
1 files changed, 21 insertions, 0 deletions
diff --git a/node_modules/rxjs/dist/cjs/internal/NotificationFactories.js b/node_modules/rxjs/dist/cjs/internal/NotificationFactories.js
new file mode 100644
index 0000000..3140480
--- /dev/null
+++ b/node_modules/rxjs/dist/cjs/internal/NotificationFactories.js
@@ -0,0 +1,21 @@
+"use strict";
+Object.defineProperty(exports, "__esModule", { value: true });
+exports.createNotification = exports.nextNotification = exports.errorNotification = exports.COMPLETE_NOTIFICATION = void 0;
+exports.COMPLETE_NOTIFICATION = (function () { return createNotification('C', undefined, undefined); })();
+function errorNotification(error) {
+ return createNotification('E', undefined, error);
+}
+exports.errorNotification = errorNotification;
+function nextNotification(value) {
+ return createNotification('N', value, undefined);
+}
+exports.nextNotification = nextNotification;
+function createNotification(kind, value, error) {
+ return {
+ kind: kind,
+ value: value,
+ error: error,
+ };
+}
+exports.createNotification = createNotification;
+//# sourceMappingURL=NotificationFactories.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