ContextSource
Defined in: packages/pipeline-job-context/src/interfaces/context-source.interface.ts:7
A value kept for the current execution by the package that owns it, such as
tenantSource of @nestjs-pipeline/tenant.
Extended by
Section titled “Extended by”Methods
Section titled “Methods”current()
Section titled “current()”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.
Returns
Section titled “Returns”string | undefined
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.
Type Parameters
Section titled “Type Parameters”T
Parameters
Section titled “Parameters”string | undefined
() => T
Returns
Section titled “Returns”T