Type Alias EventBusSettingsBase

EventBusSettingsBase: { context?: IReadableContext }

Base configuration shared by all EventBus variants. Supports optional schema-based validation for event maps.

IMPORT_PATH: "@daiso-tech/core/event-bus"

Type declaration

  • Optionalcontext?: IReadableContext

    You can pass IReadableContext that will be used by context-aware adapters.

    import { ExecutionContext } from "@daiso-tech/core/execution-context"
    import { NoOpExecutionContextAdapter } from "@daiso-tech/core/execution-context/no-op-execution-context-adapter"

    new ExecutionContext(new NoOpExecutionContextAdapter())