blob: 6a3de7fa8ff3b476ae3f1cf8fbd8c50d6d4f4d2f (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
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
|