Caller options for connectDevtools.

Kept deliberately small: the Redux DevTools Extension protocol surface is fixed, so the bridge only needs to know what label the panel should display the graph under. Every other knob (recording state, lock, baseline tracking) is bridge-state owned and not part of the adopter-visible configuration.

interface ConnectOptions {
    name?: string;
    snapshotThrottleMs?: number;
}

Properties

name?: string

Display name in the Redux DevTools panel. Defaults to "causl".

snapshotThrottleMs?: number

Minimum gap, in milliseconds, between full-state snapshot sends to the panel. Defaults to 0 (send synchronously on every commit, the original behaviour).

graph.snapshot() marshals the whole graph, and the bridge does it synchronously inside the commit subscriber. On a hot input (a drag, a paste, an animation loop) that is one full-state marshal per commit on the commit hot path. Setting a positive throttle coalesces a burst of commits into a single trailing-edge send: the snapshot is marshalled once, when the timer fires, and the coalesced action carries the union of every buffered commit's changedNodes. The panel still lands on the final, glitch-free state, it just skips the intermediate frames. Pause/lock/recording semantics are unaffected.