@noatgnu/cupcake-core 1.3.1 → 1.3.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1525,6 +1525,9 @@ class AsyncTaskMonitorService extends BaseApiService {
1525
1525
  }
1526
1526
  });
1527
1527
  }
1528
+ cancelTask(taskId) {
1529
+ return this.delete(`${this.apiUrl}/async-tasks/${taskId}/cancel/`);
1530
+ }
1528
1531
  handleTaskUpdate(message) {
1529
1532
  console.log('AsyncTaskMonitorService: handleTaskUpdate called with message:', message);
1530
1533
  const taskId = message.task_id;