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

CorrelationSource

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

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

A correlation id source that also makes new ids and judges ids received from outside.

accepts(id): boolean

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

Whether id, read from a job payload, is a well-formed correlation id.

string

boolean


create(): string

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

A new correlation id.

string


current(): string | undefined

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

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

string | undefined

ContextSource.current


run<T>(value, fn): T

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

Runs fn with value as the current value for everything it calls.

T

string | undefined

() => T

T

ContextSource.run