delete Task
Deletes a Task identified by its unique ID.
This function removes the task with the given taskId from the user's task list. After a successful deletion, the tasks property will automatically reflect the latest state.
Make sure the taskId corresponds to an existing task, otherwise the operation will fail.
Return
A RainbowResult containing Unit on success, or a com.ale.infra.rest.listeners.Failure if the deletion fails.
Parameters
task Id
The unique identifier of the task to delete.