The idempotency key from the Idempotency-Key header.
The raw request body bytes.
The actual request handler to execute (once).
The store adapter for persisting idempotency state.
Key TTL in milliseconds. Defaults to 24h if 0.
OptionalonEvent: (event: IdempotencyEvent) => void
Optional callback for idempotency lifecycle events.
Process an idempotent request.
Called by framework adapters once they have extracted the idempotency key and buffered the request body. Returns a fully formed HTTP response.