# Worker

inner class Worker : Callable<Unit> , TreeMapWorker

## Constructors

Worker
Link copied to clipboard
constructor()

## Properties

isCancelled
Link copied to clipboard
open override var isCancelled: Boolean

Indicates whether the work has been cancelled.

## Functions

call
Link copied to clipboard
open override fun call()
cancel
Link copied to clipboard
open override fun cancel()

Cancel the work being done.

setProgress
Link copied to clipboard
open override fun setProgress(progress: Int)