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

CqrsOptions

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

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

Options of createCqrs.

  • RegistrationOptions

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


readonly optional bootstrapLogLevel?: LogLevel | "none"

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

RegistrationOptions.bootstrapLogLevel


readonly optional diagnostics?: "strict" | "warn" | "off"

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

RegistrationOptions.diagnostics


readonly optional globalBehaviors?: GlobalBehaviorsOptions | GlobalBehaviorsOptions[]

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

RegistrationOptions.globalBehaviors


readonly optional logger?: PipelineLogger

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

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:35

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:41

RegistrationOptions.sources