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

CorrelationSource

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

Defined in: packages/pipeline/src/interfaces/context-source.interface.ts:19

A correlation id source, which also makes new ids.

create(): string

Defined in: packages/pipeline/src/interfaces/context-source.interface.ts:21

A new correlation id, for a pipeline started without one.

string


current(): string | undefined

Defined in: packages/pipeline/src/interfaces/context-source.interface.ts:10

The value of the current execution, or undefined for none.

string | undefined

ContextSource.current


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.

T

string | undefined

() => T

T

ContextSource.run