UNPKG

reiso

Version:
15 lines (14 loc) 597 B
import { WorkerOption, Job } from './Lib/Worker'; export * from './CronManager'; import { CronEvents } from './CronManager'; export declare function getJobs(name: string): { [name: string]: Job; }; export declare function RegisterWorker(opt: WorkerOption, func: (previous: Date | null) => Promise<boolean>): void; export declare function getEvents(): { type: CronEvents; scope: string; event: (name: string) => void; }[]; export declare function RegisterWorkerEvent(type: CronEvents, func: (name: string) => void, scope?: string): void; export declare function clearModel(): void;