A middleware in the execution chain.
Can be either a function or an object implementation. Both forms have access to the original arguments, the next middleware function.
Middlewares are executed in order of priority (lower priority first), and each middleware can:
Type of arguments passed to the function
Type of value returned from the function
MiddlewareFn
IMiddlewareObject
MiddlewareArgs
IMPORT_PATH: @daiso-tech/core/middleware
@daiso-tech/core/middleware
A middleware in the execution chain.
Can be either a function or an object implementation. Both forms have access to the original arguments, the next middleware function.
Middlewares are executed in order of priority (lower priority first), and each middleware can: