Interface SyncNode<ID>

A sync protocol node.

Each sync protocol participant may have zero or more nodes.

interface SyncNode {
    id: ID;
    seqNum: number;
    remove(): void;
}

Type Parameters

  • ID = any

Properties

Methods

Properties

id: ID

Node identifier. This is typically a number or a Name.

seqNum: number

Current sequence number. It can be increased, but cannot be decreased.

Methods

  • Remove this node from participating in the sync protocol. This may or may not have effect, depending on the sync protocol.

    Returns void

Generated using TypeDoc