JobContextModuleOptions
Αυτό το περιεχόμενο δεν είναι ακόμη διαθέσιμο στη γλώσσα σου.
Defined in: packages/nestjs/src/job-context.ts:20
How JobContextModule registers the job context.
Properties
Section titled “Properties”imports?
Section titled “imports?”
readonlyoptionalimports?: (Type<any> |ForwardReference<any> |DynamicModule|Promise<DynamicModule>)[]
Defined in: packages/nestjs/src/job-context.ts:22
Modules that provide the principal’s dependencies.
principal
Section titled “principal”
readonlyprincipal:Type<IJobPrincipal<unknown>>
Defined in: packages/nestjs/src/job-context.ts:24
The provider that loads a job’s principal again.
sources
Section titled “sources”
readonlysources:JobContextSources
Defined in: packages/nestjs/src/job-context.ts:28
Where the tenant and correlation id are read and restored.
tenants
Section titled “tenants”
readonlytenants: readonlystring[] | (() => readonlystring[])
Defined in: packages/nestjs/src/job-context.ts:26
The tenants a job may name, or a function read when the module starts.