Interface Task
public interface Task
-
Method Details
-
status
TaskStatus status()Returns the current status of the task.- Returns:
- status of the task
-
cancel
void cancel()Cancels the task. This will still let the current task finish if already running.
-