UNPKG

@ose4g/cron-manager

Version:

Npm package for ease of working with cron jobs

14 lines (13 loc) 485 B
import 'reflect-metadata'; export declare const GROUP_SYMBOL: unique symbol; export interface Group { groupTag: string | undefined; constructor: Function; className: string; } /** * Decorator for the Cron Job class * @param groupTag 'tag of the group. It is used to uniquely identify this class so that all jobs in the class can be started or stoppoed using this key * @returns A class Decorator */ export declare function cronGroup(groupTag?: string): ClassDecorator;