stop

open fun stop(@NonNull task: Runnable)

Stop a specific task that is currently running.

Parameters

task

the task to stop, must be managed by Threads


open fun stop(@Nullable task: String)

Stop a specific task that is currently running.

Parameters

task

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