| Package | org.spicefactory.lib.task.util |
| Class | public class SynchronousDelegateTask |
| Inheritance | SynchronousDelegateTask Task flash.events.EventDispatcher |
TaskGroup.
| Method | Defined By | ||
|---|---|---|---|
SynchronousDelegateTask(delegate:Delegate, name:String = [CommandTask])
Creates a new Task that wraps the specified synchronous Delegate. | SynchronousDelegateTask | ||
![]() | cancel():Boolean
Cancels this Task. | Task | |
![]() | 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 | |
| SynchronousDelegateTask | () | Constructor |
public function SynchronousDelegateTask(delegate:Delegate, name:String = [CommandTask])Creates a new Task that wraps the specified synchronous Delegate.
Parametersdelegate:Delegate — the Delegate to execute when the Task is started
| |
name:String (default = [CommandTask]) — an optional name for this CommandTask for log output
|