Skip to main content

Interface: CheckpointPolicyConfig

Defined in: types.ts:5

Configuration passed to CheckpointPolicy constructor. Declares which named events trigger checkpoints and the count-based cadence.

Properties

after

after: string[]

Defined in: types.ts:7

Named event triggers. Must have at least one entry.


custom?

optional custom?: string[]

Defined in: types.ts:11

Additional custom trigger names to register alongside after.


every?

optional every?: number

Defined in: types.ts:9

Create a checkpoint every N calls (count-based fallback). Defaults to 10.