Packageorg.puremvc.as3.patterns.command
Classpublic class AsyncCommand
InheritanceAsyncCommand Inheritance org.puremvc.as3.patterns.command.SimpleCommand
ImplementsIAsyncCommand

A base IAsyncCommand implementation.

Your subclass should override the execute method where your business logic will handle the INotification.

See also

AsyncMacroCommand


Public Methods
 MethodDefined by
  
setOnComplete(value:Function):void
Registers the callback for a parent AsyncMacroCommand.
AsyncCommand
Protected Methods
 MethodDefined by
  
Notify the parent AsyncMacroCommand that this command is complete.
AsyncCommand
Method detail
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.

Parameters
value:Function — The AsyncMacroCommand method to call on completion