Skip to content

CronDecoratorOptions

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

Options for the

method decorator.

Maps to @monque/core ScheduleOptions with additional metadata overrides.

  • ScheduleOptions
optional name: string;

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

Override job name (defaults to method name).


optional uniqueKey: string;

Defined in: core/dist/index.d.mts:146

Deduplication key. If a job with this key is already pending or processing, the schedule operation will not create a duplicate.

ScheduleOptions.uniqueKey