onCancel

abstract fun onCancel()

Invoked when a task is cancelled.