PipelineOptions
Defined in: packages/pipeline/src/create-pipeline.ts:53
Configuration of createPipeline.
Properties
Section titled “Properties”behaviors?
Section titled “behaviors?”
optionalbehaviors?: readonlyIPipelineBehavior<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.
diagnostics?
Section titled “diagnostics?”
optionaldiagnostics?:"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').
Default
Section titled “Default”'strict'globalBehaviors?
Section titled “globalBehaviors?”
optionalglobalBehaviors?: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.
logger?
Section titled “logger?”
optionallogger?: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).
Default
Section titled “Default”consolesources?
Section titled “sources?”
optionalsources?:ContextSources
Defined in: packages/pipeline/src/create-pipeline.ts:66
Where executions take their tenant and correlation id from.