I have two Signals from Notifications. These where fired from an external framework.
let successSignal = NotificationCenter.default.reactive.notifications(forName: NSNotification.Name(rawValue: "someNotification"))
let failedSignal = NotificationCenter.default.reactive.notifications(forName: NSNotification.Name(rawValue: "someNotification"))
Now I want to combine them to one signal of type Signal<Notification, Error>
.
If successSignal
fires send Value, if failedSinal
fires send Error.
I have no idea how to manage this.