cancel

abstract fun cancel()(source)

Stops the work, if it has not already stopped. Idempotent.