Skip to content

Interface: InvalidationEvent

Defined in: packages/core/src/state-sync/types.ts:158

Event emitted when causal invalidation is triggered.

See

StateSyncConfig.onInvalidation

Properties

causedBy

ts
readonly causedBy: string;

Defined in: packages/core/src/state-sync/types.ts:160

The tool that caused the invalidation (fully qualified name).


patterns

ts
readonly patterns: readonly string[];

Defined in: packages/core/src/state-sync/types.ts:162

Glob patterns that were invalidated.


timestamp

ts
readonly timestamp: string;

Defined in: packages/core/src/state-sync/types.ts:164

ISO-8601 timestamp of the event.