Uneventful
    Preparing search index...

    Control backpressure for listening streams

    Obtain instances via throttle(), then pass them into the appropriate stream-consuming API. (e.g. connect).

    interface Throttle extends Inlet {
        pause(): void;
        resume(): void;
    }

    Hierarchy (View Summary)

    Index

    Methods

    • Is the main connection open? (i.e. is the creating context not ended yet?)

      Returns boolean

    • Register a callback to produce more data when the inlet is resumed.

      (The callback is unregistered if the supplied context ends or resets.)

      Parameters

      Returns this

    • Un-pause, and iterate backpressure-able sources' onReady callbacks to resume sending immediately. (i.e., synchronously!)

      Returns void