Modifier and Type | Method and Description |
---|---|
static Task |
Task.currentTask()
Returns a reference to the currently executing Task object.
If the current thread is not a Task instance, this method returns null. |
Modifier and Type | Method and Description |
---|---|
static void |
Task.start(Task[] tasks)
Starts all the provided tasks at the very same time.
|