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

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

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

Wall-clock duration of the call, in milliseconds.


kept​

readonly kept: number

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

Number of events written to the rebuilt store.


migrated​

readonly migrated: number

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

Events rewritten by ScanOptions.event_migrations.