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 I need an Observable for a single value that supports backpressure I normally use Observable.from(Arrays.asList(item)). This carries a bit of overhead and @akarnokd suggested this implementation:
I'd like to see this in the API and if I assume that the current Observable.just(item) stays as is for performance reasons then what would be a good method name/overload?
Perhaps Observable.just(item, enableBackpressure)? Wont' work because clashes with just(item1, item2).