W3cubDocs

/Haxe JavaScript

WorkerDebuggerGlobalScope

package js.html

extends EventTarget

Available on js

Variables

read onlyglobal:Dynamic

onmessage:Function

Methods

createSandbox(name:String, prototype:Dynamic):Dynamic

Throws:

null

DOMError

dump(?string:String):Void

enterEventLoop():Void

leaveEventLoop():Void

loadSubScript(url:String, ?sandbox:Dynamic):Void

Throws:

null

DOMError

postMessage(message:String):Void

reportError(message:String):Void

retrieveConsoleEvents():Array<Dynamic>

Throws:

null

DOMError

setConsoleEventHandler(handler:Function):Void

Throws:

null

DOMError

setImmediate(handler:Function):Void

Throws:

null

DOMError

© 2005–2020 Haxe Foundation
Licensed under a MIT license.
https://api.haxe.org/js/html/WorkerDebuggerGlobalScope.html