Interface Checkpoint<N, C>

interface Checkpoint<N, C> {
    channel_values: Record<C, unknown>;
    channel_versions: Record<C, ChannelVersion>;
    id: string;
    pending_sends: SendProtocol[];
    ts: string;
    v: number;
    versions_seen: Record<N, Record<C, ChannelVersion>>;
}

Type Parameters

  • N extends string = string
  • C extends string = string

Properties

channel_values: Record<C, unknown>

Default

{}
channel_versions: Record<C, ChannelVersion>

Default

{}
id: string

Checkpoint ID {uuid6}

pending_sends: SendProtocol[]

List of packets sent to nodes but not yet processed. Cleared by the next checkpoint.

ts: string

Timestamp {new Date().toISOString()}

v: number

The version of the checkpoint format. Currently 1

versions_seen: Record<N, Record<C, ChannelVersion>>

Default

{}