Μετάβαση στο περιεχόμενο

CqrsOptions

Αυτό το περιεχόμενο δεν είναι ακόμη διαθέσιμο στη γλώσσα σου.

Defined in: packages/cqrs/src/create-cqrs.ts:22

Options of createCqrs.

  • RegistrationOptions

readonly optional behaviors?: readonly IPipelineBehavior<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.


readonly optional bootstrapLogLevel?: LogLevel | "none"

Defined in: packages/cqrs/src/registry.ts:38

RegistrationOptions.bootstrapLogLevel


readonly optional diagnostics?: DiagnosticsMode

Defined in: packages/cqrs/src/registry.ts:37

RegistrationOptions.diagnostics


readonly optional globalBehaviors?: GlobalBehaviorsOptions | GlobalBehaviorsOptions[]

Defined in: packages/cqrs/src/registry.ts:35

RegistrationOptions.globalBehaviors


readonly optional logger?: PipelineLogger

Defined in: packages/cqrs/src/create-cqrs.ts:30

The logger of LoggingBehavior, of failed event handlers and of the startup lines.


readonly optional rethrowUnhandled?: 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.

false

readonly optional sources?: ContextSources

Defined in: packages/cqrs/src/registry.ts:36

RegistrationOptions.sources