wishthis/node_modules/rxjs/dist/esm5/internal/NotificationFactories.js

15 lines
499 B
JavaScript
Raw Normal View History

2022-04-07 07:06:43 +00:00
export var COMPLETE_NOTIFICATION = (function () { return 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: kind,
value: value,
error: error,
};
}
//# sourceMappingURL=NotificationFactories.js.map