Middleware interface
Interface for middleware.
Properties
| on |
Processes a turn and optionally continues the middleware chain. |
Property Details
onTurn
Processes a turn and optionally continues the middleware chain.
onTurn: (context: TurnContext, next: () => Promise<void>) => Promise<void>
Property Value
(context: TurnContext, next: () => Promise<void>) => Promise<void>