API reference › @evolu/common › Task › RunSnapshot

Defined in: packages/common/src/Task.ts:1911

Recursive snapshot of a Run tree.

Snapshots are memoized and structurally shared: unchanged subtrees reuse the same object reference. This lets UI and debugging tools compare snapshots by identity and skip unchanged branches.

See

Run.snapshot

Properties

abortMask

readonly abortMask: AbortMask;

Defined in: packages/common/src/Task.ts:1922

The abort mask depth. 0 means abortable, >= 1 means unabortable.


children

readonly children: readonly RunSnapshot[];

Defined in: packages/common/src/Task.ts:1919

Child snapshots in start order.


id

readonly id: string & Brand<"Id">;

Defined in: packages/common/src/Task.ts:1913

The Run id this snapshot represents.


state

readonly state: RunState;

Defined in: packages/common/src/Task.ts:1916

The current state of the Run this snapshot represents.