current

Return the current worker. Worker context is accessible to any valid Kotlin context, but only actual active worker produced with Worker.start automatically processes execution requests. For other situations processQueue must be called explicitly to process request queue.

Since Kotlin

1.3

Return

current worker object, usable across multiple concurrent contexts.