Type Alias: Middleware
Middleware = (
ctx,next) =>unknown|Promise<unknown>
Defined in: router/types.ts:7
Koa/Telegraf-style middleware: receives the context and next.
Parameters
ctx
next
Returns
unknown | Promise<unknown>
Middleware = (
ctx,next) =>unknown|Promise<unknown>
Defined in: router/types.ts:7
Koa/Telegraf-style middleware: receives the context and next.
unknown | Promise<unknown>