coroutineworker / com.autodesk.coroutineworker / CoroutineWorker / execute

execute

fun execute(block: suspend <ERROR CLASS>.() -> Unit): CoroutineWorker

Platform and version requirements: JVM

Enqueues the background work to run and returns a reference to the worker, which can be cancelled

Parameters

block - The work block to execute in the background