Dispatched by TaskManager to indicate a change in state.
message:String
[read-only]
Optional human-readable message.
Implementation public function get message():String
task:ITask
[read-only]
Task associated with error (in the event of an error).
Implementation public function get task():ITask
public function TaskManagerEvent(type:String, task:ITask = null, message:String = null)
Parameters | type:String — Event type
|
|
| task:ITask (default = null ) — Errored task (if event type is ERROR)
|
|
| message:String (default = null ) — Optional message
|
override public function clone():Event
Returnspublic static const COMPLETE:String = taskManagerEventComplete
public static const ERROR:String = taskManagerEventError
public static const INTERRUPTED:String = taskManagerEventInterrupted
Tue Sep 24 2013, 09:21 AM -04:00