cancel

abstract fun cancel()

Cancels all tasks. All running tasks will be interrupted, all pending tasks will not be executed.