Reputation: 526
Is there a way to wrap Observable
in a way that chain will switch to another Observable
, the way it works with Maybe.switchIfEmpty(anotherMaybe)
, but something like
sourceObservable
.switchOnComplete(anotherObservable)
Upvotes: 1
Views: 14
Reputation: 526
I just found that Observable.concatWith() is exactly what I needed.
Upvotes: 1