Details
-
Feature Request
-
Resolution: Fixed
-
L3 - Default
-
None
-
None
Description
What is a middleware?
- A middleware is a function that has access to a workers instance and can do various things such as listening to the workers instance events or modifying the instance configuration at any time.
AT:
- The middleware is a function that receives a workers instance as a parameter.
- I can pass middlewares to workers through the option: 'use: Array | Function'