{"json_modified": "2015-02-26T05:07:05.329715", "slug": "Web/API/Worker/postMessage", "tags": ["Worker", "API", "web workerd"], "locale": "nl", "title": "Worker.postMessage()", "translations": [{"title": "Worker.postMessage()", "url": "/en-US/docs/Web/API/Worker/postMessage", "tags": ["Worker", "API", "Reference", "R\u00e9f\u00e9rence", "postMessage", "Web Workers", "Method"], "summary": "", "localization_tags": [], "locale": "en-US", "last_edit": "2015-02-22T16:21:18", "review_tags": []}, {"title": "Worker.postMessage()", "url": "/fr/docs/Web/API/Worker/postMessage", "tags": [], "summary": "", "localization_tags": [], "locale": "fr", "last_edit": "2015-01-30T06:24:29", "review_tags": []}], "modified": "2015-02-26T05:06:55", "label": "Worker.postMessage()", "localization_tags": ["inprogress"], "url": "/nl/docs/Web/API/Worker/postMessage", "last_edit": "2015-02-26T05:06:52", "summary": "The postMessage()
method of the Worker
interface sends a message to the worker's inner scope. This accepts a single parameter, which is the data to send to the worker. The data may be any value or JavaScript object handled by the structured clone algorithm, which includes cyclical references.", "sections": [{"id": "Quick_Links", "title": "Worker Constructor Worker() Properties AbstractWorker.onerror Worker.onmessage Methods Worker.postMessage() Worker.terminate() Inheritance: EventTarget Related pages: AbstractWorker ChromeWorker DedicatedWorkerGlobalScope ServiceWorker SharedWorker SharedWorkerGlobalScope WorkerGlobalScope WorkerLocation WorkerNavigator"}, {"id": "Syntax", "title": "Syntax"}, {"id": "Parameters", "title": "Parameters"}, {"id": "Returns", "title": "Returns"}, {"id": "Example", "title": "Example"}, {"id": "Specifications", "title": "Specifications"}, {"id": "Browser_compatibility", "title": "Browser compatibility"}, {"id": "See_also", "title": "See also"}], "id": 144085, "review_tags": ["technical", "editorial"]}