IDEMPOTENCY_OWNERSHIP_LOST_ITEM
constIDEMPOTENCY_OWNERSHIP_LOST_ITEM: typeofIDEMPOTENCY_OWNERSHIP_LOST_ITEM
Defined in: packages/pipeline-idempotency/src/idempotency.behavior.ts:81
Unique symbol key set on context.items to true when a handler completed after
its claim had expired or been replaced. The successful handler result is returned,
but this execution is not allowed to overwrite the newer owner’s replay state.
Example
Section titled “Example”const ownershipLost = context.items.get(IDEMPOTENCY_OWNERSHIP_LOST_ITEM) === true;