restart

open fun restart(@NonNull task: Runnable)

Restart a specific task by stopping it and then starting it again.

Parameters

task

the task to restart, must be managed by Threads


open fun restart(@NonNull task: String)

Restart a specific task by stopping it and then starting it again.

Parameters

task

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