isRunning

open fun isRunning(@NonNull 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(@NonNull 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