| Package | org.spicefactory.lib.task |
| Class | public class ConcurrentTaskGroup |
| Inheritance | ConcurrentTaskGroup TaskGroup Task flash.events.EventDispatcher |
COMPLETE event. If a TaskGroup gets cancelled or suspended all child
tasks that are still running will also be cancelled or suspended in turn.
If a child Task throws an ERROR event and the ignoreChildErrors property
of this TaskGroup is set to false, then all child tasks that are still running will be cancelled
and the TaskGroup will fire an ERROR event.
| Method | Defined By | ||
|---|---|---|---|
ConcurrentTaskGroup(name:String = null)
Creates a new TaskGroup. | ConcurrentTaskGroup | ||
![]() |
Adds the specified task to this TaskGroup. | TaskGroup | |
![]() | cancel():Boolean
Cancels this Task. | Task | |
![]() |
Returns the Task at the specified index. | TaskGroup | |
![]() | removeAllTasks():void
Removes all tasks from this TaskGroup. | TaskGroup | |
![]() | removeTask(task:Task):Boolean
Removes the specified task from this TaskGroup. | TaskGroup | |
![]() | resume():Boolean
Resumes this Task if it is suspended. | Task | |
![]() | skip():Boolean
Forces this Task to move to its final state. | Task | |
![]() | start():Boolean
Starts this Task. | Task | |
![]() | suspend():Boolean
Suspends this Task. | Task | |