Removes a task using the task's delegate or the id returned by the addTask function.
See Implementation
Removes a task using the task's delegate or the id returned by the addTask function.