test-easy-psql
Version:
Welcome to the test-easy-psql documentation! test-easy-psql is a simple intermediary for querying data in PostgreSQL databases. Whether you're a beginner or an experienced developer, this documentation will help you get started with test-easy-psql and lev
26 lines (25 loc) • 689 B
TypeScript
export = Scheduler;
declare class Scheduler {
static jobs: {};
static JobStates: {
CREATED: string;
RUNNING: string;
SKIPPED: string;
COMPLETED: string;
ERROR: string;
EXIT: string;
};
static schedule({ seconds, exec, isPromise, log }: {
seconds?: number;
exec: any;
isPromise: any;
log?: boolean;
}): void;
static getJobs(): {};
static getJobsToArray(): any[];
static getJobIds(): string[];
static getJobStateByID(id: any): any;
static setJobStatusByID(id: any, status: any): void;
static terminateJobByID(id: any): any;
static removeJobByID(id: any): void;
}