Checks all the stored Middlewares using the passed arguments and returns the result.
Removes all the stored middlewares.
ProtectedextractExtracts the priority from a middleware. Defaults to PriorityEnum.Normal for callback middlewares.
Returns all the stored middlewares.
Removes a middleware from the list given its instance or ID.
ProtectedwrapWraps a generic error in a CommandMiddlewareError.
Staticcreate
An object that contains and checks middlewares.