isRunning

open fun isRunning(task: Runnable): Boolean

Check if a task is currently running.

Return

true if the task is running, false otherwise

Parameters

task

the task to check, must be managed by Threads


open fun isRunning(task: String): Boolean

Check if a task is currently running.

Return

true if the task is running, false otherwise

Parameters

task

the name of the task to check, must be managed by Threads