Class StateVector

SVS state vector.

Constructors

Methods

  • Iterate over nodes and their sequence numbers.

    Returns IterableIterator<[id: Name, seqNum: number], any, any>

  • Set node sequence number or entry.

    Parameters

    • id: Name
    • entry: number | NodeEntry

      If specified as number, it's interpreted as sequence number, and Date.now() is used as lastUpdate. Otherwise, it's used as the node entry.

    Returns void

    Setting sequence number to zero removes the node.