Skip to content

Job

function Job(name, options?): MethodDecorator;

Defined in: tsed/src/decorators/job.ts:33

Method decorator that registers a method as a job handler.

ParameterTypeDescription
namestringThe job name (will be prefixed with controller namespace if present)
options?JobDecoratorOptionsOptional job configuration (concurrency, replace, etc.)

MethodDecorator