Construction options for commitLog.

Callers tune capacity to balance UI history depth against retained memory. The default cap is suitable for interactive devtools sessions but small for long-running batch hosts. id is the registration key for the underlying derived node and defaults to a deterministic name derived from capacity so distinct capacities coexist in the same graph; supply a custom id to host multiple devtools panels.

interface CommitLogOptions {
    capacity?: number;
    id?: string;
}

Properties

Properties

capacity?: number

Maximum number of commits to retain; defaults to 1000.

id?: string

Registration id for the underlying derived node.