Skip to main content

ScanResult

@rotorsoft/act-root


@rotorsoft/act-root / act/src / ScanResult

Type Alias: ScanResult

ScanResult = object

Defined in: libs/act/src/types/action.ts:609

Result of IAct.restore.

kept and duration_ms are always populated. dropped carries per-category counters when ScanOptions.drop_snapshots (or future compaction flags) trigger drops; otherwise zeros. Live restore is atomic โ€” any error throws and rolls back, so there's no per-event error reporting on the result.

Propertiesโ€‹

droppedโ€‹

readonly dropped: object

Defined in: libs/act/src/types/action.ts:619

Per-category drop counters. Only snapshots is wired in v1; closed_streams and empty_streams are reserved for the follow-up that introduces those flags.

closed_streamsโ€‹

readonly closed_streams: number

empty_streamsโ€‹

readonly empty_streams: number

snapshotsโ€‹

readonly snapshots: number


duration_msโ€‹

readonly duration_ms: number

Defined in: libs/act/src/types/action.ts:613

Wall-clock duration of the call, in milliseconds.


keptโ€‹

readonly kept: number

Defined in: libs/act/src/types/action.ts:611

Number of events written to the rebuilt store.