CorrelationSource
Defined in: packages/pipeline/src/interfaces/context-source.interface.ts:19
A correlation id source, which also makes new ids.
Extends
Section titled “Extends”Methods
Section titled “Methods”create()
Section titled “create()”create():
string
Defined in: packages/pipeline/src/interfaces/context-source.interface.ts:21
A new correlation id, for a pipeline started without one.
Returns
Section titled “Returns”string
current()
Section titled “current()”current():
string|undefined
Defined in: packages/pipeline/src/interfaces/context-source.interface.ts:10
The value of the current execution, or undefined for none.
Returns
Section titled “Returns”string | undefined
Inherited from
Section titled “Inherited from”run<
T>(value,fn):T
Defined in: packages/pipeline/src/interfaces/context-source.interface.ts:15
Runs fn with value as the current value (undefined: none) for
everything it calls, synchronously or asynchronously.
Type Parameters
Section titled “Type Parameters”T
Parameters
Section titled “Parameters”string | undefined
() => T
Returns
Section titled “Returns”T