Middleware loader
This module loads middlewares as they are set in the current configuration
- Source:
Members
(inner) registerMiddleware
Register a middleware
- Source:
Methods
(static) factory(context) → {Promise.<function()>}
Instanciate middleware loader
Parameters:
| Name | Type | Description |
|---|---|---|
context |
Object | Current context |
- Source:
Returns:
Error handler middleware function
- Type
- Promise.<function()>