cancel

open override fun cancel(mayInterruptIfRunning: Boolean): Boolean

If not already completed, completes this CompletableFuture with a CancellationException.

Return

true if this task is now cancelled

Parameters

mayInterruptIfRunning

this value has no effect in this implementation because interrupts are not used to control processing.