Skip to content

Type Alias: CommandMiddleware ​

CommandMiddleware = object

Defined in: commands/types.ts:29

Methods ​

afterExecute() ​

afterExecute(ctx): void | Promise<void>

Defined in: commands/types.ts:31

Parameters ​

ctx ​

CommandContext

Returns ​

void | Promise<void>


beforeExecute() ​

beforeExecute(ctx): void | Promise<void>

Defined in: commands/types.ts:30

Parameters ​

ctx ​

CommandContext

Returns ​

void | Promise<void>