Type Alias MiddlewareAsync<State, CTX, Request, Response>

MiddlewareAsync<State, CTX, Request, Response>: ((ctx: {
    ctx: CTX;
    key?: string;
    request: Request;
    response?: Response;
    state: State;
}) => Promise<{
    ctx: CTX;
    key?: string;
    request: Request;
    response?: Response;
    state: State;
}>)

Type Parameters