18 lines
771 B
Haxe
18 lines
771 B
Haxe
package flash.system;
|
|
|
|
@:require(flash11_4) extern final class Worker extends flash.events.EventDispatcher {
|
|
@:flash.property var isPrimordial(get,never) : Bool;
|
|
@:flash.property var state(get,never) : WorkerState;
|
|
function createMessageChannel(receiver : Worker) : MessageChannel;
|
|
function getSharedProperty(key : String) : Dynamic;
|
|
private function get_isPrimordial() : Bool;
|
|
private function get_state() : WorkerState;
|
|
function setSharedProperty(key : String, value : Dynamic) : Void;
|
|
function start() : Void;
|
|
function terminate() : Bool;
|
|
@:flash.property static var current(get,never) : Worker;
|
|
@:flash.property static var isSupported(get,never) : Bool;
|
|
private static function get_current() : Worker;
|
|
private static function get_isSupported() : Bool;
|
|
}
|