Package | org.puremvc.as3.patterns.command |
Class | public class AsyncCommand |
Inheritance | AsyncCommand org.puremvc.as3.patterns.command.SimpleCommand |
Implements | IAsyncCommand |
IAsyncCommand
implementation.
Your subclass should override the execute
method where your business logic will handle the INotification
.
See also
Method | Defined by | ||
---|---|---|---|
setOnComplete(value:Function):void
Registers the callback for a parent
AsyncMacroCommand . | AsyncCommand |
Method | Defined by | ||
---|---|---|---|
commandComplete():void
Notify the parent
AsyncMacroCommand that this command is complete. | AsyncCommand |
commandComplete | () | method |
protected function commandComplete():void
Notify the parent AsyncMacroCommand
that this command is complete.
Call this method from your subclass to signify that your asynchronous command has finished.
setOnComplete | () | method |
public function setOnComplete(value:Function):void
Registers the callback for a parent AsyncMacroCommand
.
value:Function — The AsyncMacroCommand method to call on completion
|