Skip to main content
Version: Current

ScanResult

@rotorsoft/act-root


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

Type Alias: ScanResult

ScanResult = object

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

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:1023

Per-category drop counters.

closed_streamsโ€‹

readonly closed_streams: number

snapshotsโ€‹

readonly snapshots: number


duration_msโ€‹

readonly duration_ms: number

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

Wall-clock duration of the call, in milliseconds.


keptโ€‹

readonly kept: number

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

Number of events written to the rebuilt store.


migratedโ€‹

readonly migrated: number

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

Events rewritten by ScanOptions.event_migrations.