Class MiddlewareManager

Centralizes middleware composition and execution for both tasks and resources. Keeps observability emissions and unhandled error routing consistent.

Constructors

Properties

eventManager: EventManager
logger: Logger
store: Store

Accessors

Methods

  • Adds an interceptor for task or resource middleware execution Interceptors are executed in the order they are added, with the ability to modify, log, or prevent middleware execution

    Parameters

    Returns void