deleteTask abstract method

Future<bool> deleteTask(
  1. String taskId
)

Deletes a task from the queue and cleans up associated resources. Returns true if the task was successfully deleted, false if the task wasn't found.

Parameters:

  • taskId: The ID of the task to delete

Implementation

Future<bool> deleteTask(String taskId);