-
Notifications
You must be signed in to change notification settings - Fork 7.6k
Description
In reading the original PR for Single, I saw Ben was OK with adding a takeUntil(Single/Observable) operator for Single later. I was wondering if this was still the plan, and if you would be open to contributions on this front. Same with Completable.
One caveat that I've thought of is that there's a potentially conflicting contact with Single and takeUntil() in the sense that takeUntil() calls onCompleted() in observables, but Singles will actually go to onError() if onCompleted() is called before any events are emitted (and by extension onSuccess()). Not sure what the clear path would be, but it seems like Singles would have to only unsubscribe and not propagate any notifications, differing from Observables and likely Completables in this regard.