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
When the design of Single happened, the focus was too much on reusing Observable's ˙OperatorXXX` classes which added an unnecessary layer of indicrection. I wish it could be remodelled like it is in 2.x so it isn't such a mix of the two worlds.
Thanks for a prompt reply. I understand. So reusing Observable method, converting Single to observable and using Obserable's Operators is discouraged? Actually I am working on this feature #3548 and of the solutions I see it is using Observable's operators and methods.
Hi,
I have noticed that implementation of fromCallable on a Single is:
Is this for some specific reason? Because it could be replaced with:
return new Single<T>(new OnSubscribeFromCallable<>(func));
similarly as from implementation on Single.
The text was updated successfully, but these errors were encountered: