MiddlewareInterruptResult
Defined in: src/middleware/stages.ts:24
Result returned by interrupt() in middleware contexts.
Returns an object to allow future extension (e.g., cached data, metadata)
without a breaking change to callers.
Type Parameters
Section titled “Type Parameters”| Type Parameter | Default type |
|---|---|
T | JSONValue |
Properties
Section titled “Properties”response
Section titled “response”response: T;Defined in: src/middleware/stages.ts:31
The resolved response value from the interrupt.
The generic T is a caller assertion — the actual value is whatever the user
passed in InterruptResponseContent.response (a JSONValue). No runtime
validation is performed; callers are responsible for ensuring the shape matches.