aboutsummaryrefslogtreecommitdiffstats
path: root/node_modules/rxjs/dist/esm/internal/NotificationFactories.js
diff options
context:
space:
mode:
Diffstat (limited to 'node_modules/rxjs/dist/esm/internal/NotificationFactories.js')
-rw-r--r--node_modules/rxjs/dist/esm/internal/NotificationFactories.js15
1 files changed, 15 insertions, 0 deletions
diff --git a/node_modules/rxjs/dist/esm/internal/NotificationFactories.js b/node_modules/rxjs/dist/esm/internal/NotificationFactories.js
new file mode 100644
index 0000000..536f265
--- /dev/null
+++ b/node_modules/rxjs/dist/esm/internal/NotificationFactories.js
@@ -0,0 +1,15 @@
+export const COMPLETE_NOTIFICATION = (() => createNotification('C', undefined, undefined))();
+export function errorNotification(error) {
+ return createNotification('E', undefined, error);
+}
+export function nextNotification(value) {
+ return createNotification('N', value, undefined);
+}
+export function createNotification(kind, value, error) {
+ return {
+ kind,
+ value,
+ error,
+ };
+}
+//# 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