Skip to content

EventBusOptions

Defined in: packages/cqrs/src/event.bus.ts:19

How the EventBus treats a failed handler.

readonly optional logger?: PipelineLogger

Defined in: packages/cqrs/src/event.bus.ts:27

Logs each failure at error.

console

readonly optional rethrowUnhandled?: boolean

Defined in: packages/cqrs/src/event.bus.ts:25

Throw a failure as an uncaught exception instead of publishing it on the UnhandledExceptionBus and logging it.

false