cancelWorker

abstract suspend fun cancelWorker()(source)

Cancels the worker and suspends until it's finished cancelling (joined).