CqrsOptions
Defined in: packages/cqrs/src/create-cqrs.ts:21
Options of createCqrs.
Extends
Section titled “Extends”RegistrationOptions
Properties
Section titled “Properties”behaviors?
Section titled “behaviors?”
readonlyoptionalbehaviors?: readonlyIPipelineBehavior<unknown,unknown>[]
Defined in: packages/cqrs/src/create-cqrs.ts:27
Instances of the behaviors that need dependencies, one per behavior class. A placed
behavior without an instance is built with no arguments, LoggingBehavior on
logger.
bootstrapLogLevel?
Section titled “bootstrapLogLevel?”
readonlyoptionalbootstrapLogLevel?:LogLevel|"none"
Defined in: packages/cqrs/src/registry.ts:43
Inherited from
Section titled “Inherited from”RegistrationOptions.bootstrapLogLevel
diagnostics?
Section titled “diagnostics?”
readonlyoptionaldiagnostics?:"strict"|"warn"|"off"
Defined in: packages/cqrs/src/registry.ts:42
Inherited from
Section titled “Inherited from”RegistrationOptions.diagnostics
globalBehaviors?
Section titled “globalBehaviors?”
readonlyoptionalglobalBehaviors?:GlobalBehaviorsOptions|GlobalBehaviorsOptions[]
Defined in: packages/cqrs/src/registry.ts:40
Inherited from
Section titled “Inherited from”RegistrationOptions.globalBehaviors
logger?
Section titled “logger?”
readonlyoptionallogger?:PipelineLogger
Defined in: packages/cqrs/src/create-cqrs.ts:29
The logger of LoggingBehavior, of failed event handlers and of the startup lines.
rethrowUnhandled?
Section titled “rethrowUnhandled?”
readonlyoptionalrethrowUnhandled?:boolean
Defined in: packages/cqrs/src/create-cqrs.ts:35
Throw a failed event handler’s error as an uncaught exception instead of publishing it
on the UnhandledExceptionBus and logging it.
Default
Section titled “Default”falsesources?
Section titled “sources?”
readonlyoptionalsources?:ContextSources
Defined in: packages/cqrs/src/registry.ts:41
Inherited from
Section titled “Inherited from”RegistrationOptions.sources