CqrsOptions
Defined in: packages/cqrs/src/create-cqrs.ts:22
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:28
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:38
Inherited from
Section titled “Inherited from”RegistrationOptions.bootstrapLogLevel
diagnostics?
Section titled “diagnostics?”
readonlyoptionaldiagnostics?:DiagnosticsMode
Defined in: packages/cqrs/src/registry.ts:37
Inherited from
Section titled “Inherited from”RegistrationOptions.diagnostics
globalBehaviors?
Section titled “globalBehaviors?”
readonlyoptionalglobalBehaviors?:GlobalBehaviorsOptions|GlobalBehaviorsOptions[]
Defined in: packages/cqrs/src/registry.ts:35
Inherited from
Section titled “Inherited from”RegistrationOptions.globalBehaviors
logger?
Section titled “logger?”
readonlyoptionallogger?:PipelineLogger
Defined in: packages/cqrs/src/create-cqrs.ts:30
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:36
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”sources?
Section titled “sources?”
readonlyoptionalsources?:ContextSources
Defined in: packages/cqrs/src/registry.ts:36
Inherited from
Section titled “Inherited from”RegistrationOptions.sources