Skip to content

JobContextOptions

Defined in: packages/pipeline-job-context/src/register-job-context.ts:8

What registerJobContext makes the job context of the process.

principal: IJobPrincipal

Defined in: packages/pipeline-job-context/src/register-job-context.ts:10

Restores and re-checks the principal of a job, and declares system principals.


sources: JobContextSources

Defined in: packages/pipeline-job-context/src/register-job-context.ts:18

Where the tenant and the correlation id are stamped from and restored into, such as tenantSource of @cqrs-ddd/pipeline-tenant and correlationSource of @cqrs-ddd/pipeline-correlation.


tenants: readonly string[]

Defined in: packages/pipeline-job-context/src/register-job-context.ts:12

The tenants a job may run in; a job that names another is refused.