haXe API Documentation
Back | Index
extern class js.html.MessagePort
extends EventTarget
Available in js

dom/interfaces/threads/nsIDOMWorkers.idlScriptable

This interface represents a worker thread's message port, which is used to allow the worker to post messages back to its creator.
1.0
11.0
Introduced
Gecko 1.9.1
Inherits from: nsISupports Last changed in Gecko 1.9.1 (Firefox 3.5 / Thunderbird 3.0 / SeaMonkey 2.0)


Documentation for this class was provided by MDN.

var onmessage : EventListener
function close() : Void
function postMessage(message : Dynamic, ?messagePorts : Array<Dynamic>) : Void
function start() : Void
Back | Index