hugoWebsite/node_modules/rxjs/dist/esm/internal/NotificationFactories.js

15 lines
463 B
JavaScript
Raw Normal View History

2022-10-29 00:20:35 +02:00
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