Packageorg.spicefactory.lib.command
Interfacepublic interface AsyncCommand extends Command, flash.events.IEventDispatcher
Implementors AbstractAsyncCommand

Represents a command that executes asynchronously.



Public Properties
 PropertyDefined By
  active : Boolean
[read-only] Indicates whether this command is currently executing.
AsyncCommand
Public Methods
 MethodDefined By
 Inherited
execute():void
Executes the command.
Command
Events
 Event Summary Defined By
  Dispatched when the command execution completed successfully.AsyncCommand
  Dispatched when the command execution failed.AsyncCommand
Property Detail
activeproperty
active:Boolean  [read-only]

Indicates whether this command is currently executing.


Implementation
    public function get active():Boolean
Event Detail
complete Event
Event Object Type: org.spicefactory.lib.command.events.CommandResultEvent

Dispatched when the command execution completed successfully.

error Event  
Event Object Type: org.spicefactory.lib.command.events.CommandResultEvent

Dispatched when the command execution failed.