def _on_cancel(self, my_task):
self.cancelled_event.emit(my_task.workflow, my_task)<EOL>
May be called by another task to cancel the operation before it was
completed.

:type  my_task: Task
:param my_task: The associated task in the task tree.