Delete a task. After calling this function, the task will be removed from ThingsDB. If there are references to this task, then those references will no longer contain the original task but an empty task instead.
This function generates a change.
task.del()
None
Returns nil
.
Example usage task.del():
t = task(datetime(), ||log('Dummy task'));
t.del(); // delete the task before it can start
Return value in JSON format
null