Debian Codegraph @

node/rxjs/dist/esm/internal/NotificationFactories.js

raw
1 export const COMPLETE_NOTIFICATION = (() => createNotification('C', undefined, undefined))();
2 export function errorNotification(error) {
3 return createNotification('E', undefined, error);
4 }
5 export function nextNotification(value) {
6 return createNotification('N', value, undefined);
7 }
8 export function createNotification(kind, value, error) {
9 return {
10 kind,
11 value,
12 error,
13 };
14 }
15 //# sourceMappingURL=NotificationFactories.js.map