onCancel

abstract fun onCancel()(source)

Invoked when a task is cancelled.