Control backpressure for listening streams
Obtain instances via throttle(), then pass them into the appropriate stream-consuming API. (e.g. connect).
Is the main connection open? (i.e. is the creating job not closed yet?)
Is the connection ready to receive data?
Register a callback to produce more data when the inlet is resumed (The callback is unregistered if the supplied job ends.)
Set inlet status to "paused".
Un-pause, and iterate backpressure-able sources' onReady callbacks to resume sending immediately. (i.e., synchronously!)
Control backpressure for listening streams
Obtain instances via throttle(), then pass them into the appropriate stream-consuming API. (e.g. connect).