rea-agents
    Preparing search index...

    Class PendingOperations<Key, Value>

    Correlates event-driven provider replies with bounded waits.

    The registry owns every request timer and abort listener. Settling, timing out, cancelling, or failing an operation removes both before resolution, so late protocol replies can be ignored without retaining request resources.

    Type Parameters

    • Key
    • Value
    Index
    • get size(): number

      Number of currently correlated operations.

      Returns number

    • Fail every active operation while releasing all timers and listeners.

      Parameters

      Returns void

    • Return whether an operation key is awaiting a protocol reply.

      Parameters

      Returns boolean

    • Settle one correlated reply; returns false for late or unknown keys.

      Parameters

      Returns boolean