Constructor

@:value({ maxThreads : 1, minThreads : 0 })new(minThreads:Int = 0, maxThreads:Int = 1)

Variables

@:value(new Event<Dynamic>())doWork:_Event_Dynamic_Void<Dynamic ‑> Void> = new Event<Dynamic>()

@:value(new Event<Dynamic>())onComplete:_Event_Dynamic_Void<Dynamic ‑> Void> = new Event<Dynamic>()

@:value(new Event<Dynamic>())onError:_Event_Dynamic_Void<Dynamic ‑> Void> = new Event<Dynamic>()

@:value(new Event<Dynamic>())onProgress:_Event_Dynamic_Void<Dynamic ‑> Void> = new Event<Dynamic>()

@:value(new Event<Dynamic>())onRun:_Event_Dynamic_Void<Dynamic ‑> Void> = new Event<Dynamic>()

Methods

@:value({ state : null })queue(?state:Dynamic):Void

@:value({ state : null })sendComplete(?state:Dynamic):Void

@:value({ state : null })sendError(?state:Dynamic):Void

@:value({ state : null })sendProgress(?state:Dynamic):Void