0f6abc86f8c875da1948781b6a5224a4cd638a85803c81bfb80621b2ce15b646e2de5e1fb8442d767403471c494b1dd6f9312f749ffeb974477f3ed62a9ef1 463 B

123456789101112131415
  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