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

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

Type Parameters