cancel

abstract fun cancel()

Cancels the task. Safe to call multiple times.