Skip to main content
Version: Current

CloseResult

@rotorsoft/act-root


@rotorsoft/act-root / act/src / CloseResult

Type Alias: CloseResult

CloseResult = object

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

Result of a close operation โ€” per-stream truncate outcomes plus the names of any streams that were skipped (concurrent writes, pending reactions, or windowed closes with no qualifying snapshot).

Windowed entries in truncated echo the cutoff as before and carry the surviving boundary snapshot as committed โ€” that's how consumers of the closed lifecycle event distinguish prunes from full closes.

Seeโ€‹

IAct.close for the close-the-books API

Propertiesโ€‹

skippedโ€‹

readonly skipped: string[]

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

Streams skipped due to pending reactions, concurrent writes, or a windowed close finding no qualifying snapshot


truncatedโ€‹

readonly truncated: TruncateResult

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

Per-stream truncate results (deleted count + committed event)