Uneventful
    Preparing search index...

    Control backpressure for listening streams. This interface is the API internal to the implementation of backpressure(). Unless you're implementing a backpressurable stream yourself, see the Throttle interface instead.

    interface Inlet {
        isOpen(): boolean;
        isReady(): boolean;
        onReady(cb: () => any, ctx: Context): this;
    }

    Hierarchy (View Summary)

    Index

    Methods

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

      Returns boolean

    • Is the connection ready to receive data?

      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