Skip to content

JobMetadata

Defined in: tsed/src/decorators/types.ts:28

Metadata for a single

decorated method.

Stored in the JobStore and used by MonqueModule to register workers.

method: string;

Defined in: tsed/src/decorators/types.ts:38

Method name on the controller class.


name: string;

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

Job name (without namespace prefix). Combined with controller namespace to form full job name.


opts: JobDecoratorOptions;

Defined in: tsed/src/decorators/types.ts:43

Job options forwarded to Monque.register().