UNPKG

toad-scheduler

Version:

In-memory Node.js and browser job scheduler

12 lines (11 loc) 290 B
export declare enum JobStatus { RUNNING = "running", STOPPED = "stopped" } export declare abstract class Job { readonly id: string | undefined; protected constructor(id?: string); abstract getStatus(): JobStatus; abstract start(): void; abstract stop(): void; }