Skip to content

JobMetadata

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

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:39

Method name on the controller class.


name: string;

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

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


opts: JobDecoratorOptions;

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

Job options forwarded to Monque.register().