cancel

fun cancel(cause: CancellationException? = null)

Cancels the operation, like Deferred.cancel. progress keeps its last value.