Skip to content

Documentation / @imvu/bot / Middleware

Type Alias: Middleware ​

ts
type Middleware = (context, next) => void | Promise<void>;

Defined in: packages/bot/src/Bot.ts:100

Parameters ​

ParameterType
contextCommandContext
next() => Promise<void>

Returns ​

void | Promise<void>

Released under the MIT License.