Skip to content
This repository has been archived by the owner on Feb 25, 2022. It is now read-only.

Explore Backpressurable#getCapacity optimizations #16

Open
smaldini opened this issue Feb 20, 2016 · 0 comments
Open

Explore Backpressurable#getCapacity optimizations #16

smaldini opened this issue Feb 20, 2016 · 0 comments

Comments

@smaldini
Copy link
Contributor

Backpressurable#getCapacity can be a useful tool to detect if the source Publisher is a Completable (0), Single (1), Unbounded (Long.MAX), Bounded (N > 1 && < Integer.MAX) or Mixed (-1) backpressure strategy.

Some operator might adapt their supplied Queue while other can choose to short-circuit more expensive inner Subscriber.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Development

No branches or pull requests

1 participant