You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'd like to add a utility method in Subscribers that does this. Any suggestions for a name to squeeze into the static namespace of this class? from would have been nice but is used by Subscribers.from(Observer) and this would be a breaking change if I added Subscribers.from(Subscriber) because they do different things and a Subscriber is an Observer.
Perhaps:
Subscribers.fromChained(Subscriber)
Subscribers.passThrough(Subscriber)
Subscribers.chained(Subscriber)
I'm sure someone will have a nicer suggestion than these.
The text was updated successfully, but these errors were encountered:
This sort of code is in a lot of places in the RxJava codebase:
I'd like to add a utility method in
Subscribers
that does this. Any suggestions for a name to squeeze into the static namespace of this class?from
would have been nice but is used bySubscribers.from(Observer)
and this would be a breaking change if I addedSubscribers.from(Subscriber)
because they do different things and aSubscriber
is anObserver
.Perhaps:
Subscribers.fromChained(Subscriber)
Subscribers.passThrough(Subscriber)
Subscribers.chained(Subscriber)
I'm sure someone will have a nicer suggestion than these.
The text was updated successfully, but these errors were encountered: