forked from pinks/eris
1
0
Fork 0
nyx/tasks/mod.ts

14 lines
376 B
TypeScript
Raw Permalink Normal View History

2023-09-10 18:56:17 +00:00
import { pingWorkers } from "./pingWorkers.ts";
import { processJobs } from "./processJobs.ts";
import { returnHangedJobs } from "./returnHangedJobs.ts";
import { updateJobStatusMsgs } from "./updateJobStatusMsgs.ts";
export async function runAllTasks() {
await Promise.all([
processJobs(),
updateJobStatusMsgs(),
returnHangedJobs(),
pingWorkers(),
]);
}