API reference › @evolu/common › Task › RunSnapshot
Defined in: packages/common/src/Task.ts:1888
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
Properties
abortMask
readonly abortMask: AbortMask;
Defined in: packages/common/src/Task.ts:1899
The abort mask depth. 0 means abortable, >= 1 means unabortable.
children
readonly children: readonly RunSnapshot[];
Defined in: packages/common/src/Task.ts:1896
Child snapshots in start order.
id
readonly id: string & Brand<"Id">;
Defined in: packages/common/src/Task.ts:1890
The Run id this snapshot represents.
state
readonly state: RunState;
Defined in: packages/common/src/Task.ts:1893
The current state of the Run this snapshot represents.