botbook/node_modules/rxjs/dist/esm/internal/NotificationFactories.js
Rodrigo Rodriguez 6ae15fe3e5 Updated.
2024-09-04 13:13:15 -03:00

15 lines
No EOL
463 B
JavaScript

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