-
Type:
Feature Request
-
Resolution: Fixed
-
Priority:
L3 - Default
-
Affects Version/s: None
-
Component/s: external task client js
-
None
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'