Skip to content

PipelineOptions

Defined in: packages/pipeline/src/create-pipeline.ts:53

Configuration of createPipeline.

optional behaviors?: readonly IPipelineBehavior<unknown, unknown>[]

Defined in: packages/pipeline/src/create-pipeline.ts:58

Instances of the behaviors that need dependencies, one per behavior class. A placed behavior without an instance is constructed with no arguments.


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

Defined in: packages/pipeline/src/create-pipeline.ts:73

What a behavior contract violation does when a function or method is wrapped (module load or class definition): throw ('strict'), log a warning ('warn'), or nothing ('off').

'strict'

optional globalBehaviors?: GlobalBehaviorsOptions | GlobalBehaviorsOptions[]

Defined in: packages/pipeline/src/create-pipeline.ts:64

Behaviors applied to every wrapped function, by scope: before the call-site entries, after them. A behavior placed here and at a call site runs once, at its global position, with the call-site options shallowly merged over these.


optional logger?: PipelineLogger

Defined in: packages/pipeline/src/create-pipeline.ts:79

Receives the 'warn' diagnostics, and is the logger of a LoggingBehavior the pipeline constructs itself (one placed without an instance in behaviors).

console

optional sources?: ContextSources

Defined in: packages/pipeline/src/create-pipeline.ts:66

Where executions take their tenant and correlation id from.