feat(core): Add debounced tasks and step-based progress tracking; upgrade deps and improve dashboard and scheduling

This commit is contained in:
2025-12-04 08:47:52 +00:00
parent 2fb605a58e
commit 72f75aa7de
13 changed files with 2206 additions and 1369 deletions

View File

@@ -25,7 +25,7 @@ tap.test('should run the task as expected', async () => {
console.log('Task "myTask" executed!');
referenceBoolean = true;
taskRunCounter++;
if (taskRunCounter === 10) {
if (taskRunCounter === 3) {
taskDone.resolve();
}
},
@@ -38,7 +38,7 @@ tap.test('should run the task as expected', async () => {
});
tap.test('should schedule task', async () => {
myTaskManager.scheduleTaskByName('myTask', '*/10 * * * * *');
myTaskManager.scheduleTaskByName('myTask', '*/5 * * * * *');
await taskDone.promise;
myTaskManager.descheduleTaskByName('myTask');
});