node-cron-management
Version:
Improvement of node-cron package
14 lines (13 loc) • 484 B
TypeScript
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 stopped using this key
* @returns A class Decorator
*/
export declare function cronGroup(groupTag?: string): ClassDecorator;