Skip to content
1 min read · 44 words

Variable: ORDERING_GUARD_SNAPSHOT_STASH_KEY

ts
const ORDERING_GUARD_SNAPSHOT_STASH_KEY: "__orderingGuardSnapshot" =
  "__orderingGuardSnapshot";

Defined in: src/batteries/validation/middleware.ts:37

ctx.stash key under which the prior-iteration primitive snapshot is kept for @nhtio/adk!PreservationRule statefulness — see the plan's "Statefulness for PreservationRule" section. Exported (as ORDERING_GUARD_SNAPSHOT_STASH_KEY) so a caller can pass a custom options.snapshotStashKey without guessing the default's exact string.