FROST Hubert TypeScript Library - v1.0.0-alpha.20
    Preparing search index...

    Class PendingRequests

    Tracks pending communication with participants (coordinator-side).

    Port of struct PendingRequests from group_record.rs lines 71-75.

    Index

    Constructors

    Methods

    • Add a pending request where we only know where to collect from.

      Port of PendingRequests::add_collect_only() from group_record.rs lines 90-99.

      Parameters

      • participant: XID
      • collectFromArid: ARID

      Returns void

    • Add a pending request where we know where to send AND where to collect.

      Port of PendingRequests::add_send_and_collect() from group_record.rs lines 103-115.

      Parameters

      • participant: XID
      • sendToArid: ARID
      • collectFromArid: ARID

      Returns void

    • Add a pending request where we only know where to send.

      Port of PendingRequests::add_send_only() from group_record.rs lines 118-127.

      Parameters

      • participant: XID
      • sendToArid: ARID

      Returns void

    • Check if there are no pending requests.

      Port of PendingRequests::is_empty() from group_record.rs line 129.

      Returns boolean

    • Get the number of pending requests.

      Port of PendingRequests::len() from group_record.rs line 165.

      Returns number

    • Iterate over (participant, collectFromArid) pairs.

      Port of PendingRequests::iter_collect() from group_record.rs lines 132-138.

      Returns Generator<[XID, ARID]>

    • Iterate over (participant, sendToArid) pairs.

      Port of PendingRequests::iter_send() from group_record.rs lines 141-150.

      Returns Generator<[XID, ARID]>

    • Iterate over full (participant, sendToArid, collectFromArid) tuples.

      Port of PendingRequests::iter_full() from group_record.rs lines 153-163.

      Returns Generator<[XID, ARID | undefined, ARID]>