You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
15 lines
463 B
15 lines
463 B
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
|