Preview: task-registry.d.ts
Size: 361 B
//proc/thread-self/root/home/byroehnu/.trash/node_modules11/node-cron/dist/cjs/task-registry.d.ts
import { ScheduledTask } from "./tasks/scheduled-task";
declare const tasks: Map<string, ScheduledTask>;
export declare class TaskRegistry {
add(task: ScheduledTask): void;
get(taskId: string): ScheduledTask | undefined;
remove(task: ScheduledTask): void;
all(): typeof tasks;
has(taskId: string): boolean;
killAll(): void;
}
export {};
Directory Contents
Dirs: 5 × Files: 12