Skip to content

MiddlewareInputHandler

type MiddlewareInputHandler<TContext> = (context) => TContext | Promise<TContext>;

Defined in: src/middleware/types.ts:75

Handler for Input phase — transforms context before execution.

Type Parameter
TContext
ParameterType
contextTContext

TContext | Promise<TContext>