OptionaldefaultPriority?: numberDefault priority for middlewares that do not explicitly set a priority.
Middlewares are executed in order of priority (lower values first). This setting applies to function-based middlewares or object middlewares that don't specify a priority.
OptionalexecutionContext?: IExecutionContextThe execution context in which middleware will be executed.
Used to manage state and context across middleware and invokable execution.
Middleware can access this context via the context property in MiddlewareArgs.
Configuration options for creating a middleware application function.
Allows customization of the execution context used during middleware execution and the default priority assigned to middlewares without an explicit priority.