{"json_modified": "2016-03-28T08:42:42.394872", "uuid": "83f414a7-2ab3-4cc9-8a3d-7e36c096b0a5", "title": "DedicatedWorkerGlobalScope.onmessage", "url": "/en-US/docs/Web/API/DedicatedWorkerGlobalScope/onmessage", "tags": ["API", "onmessage", "Reference", "Property", "R\u00e9f\u00e9rence", "DedicatedWorkerGlobalScope", "Web Workers"], "translations": [], "modified": "2015-02-21T08:49:47", "label": "DedicatedWorkerGlobalScope.onmessage", "localization_tags": [], "locale": "en-US", "id": 134975, "last_edit": "2015-02-21T08:47:29", "summary": "The onmessage
property of the DedicatedWorkerGlobalScope
interface represents an EventHandler
to be called when the message
event occurs and bubbles through the Worker
\u2014 i.e. when a message is sent to the worker using the Worker.postMessage
method.", "sections": [{"id": "Quick_Links", "title": null}, {"id": "Summary", "title": "Summary"}, {"id": "Syntax", "title": "Syntax"}, {"id": "Example", "title": "Example"}, {"id": "Specifications", "title": "Specifications"}, {"id": "Browser_compatibility", "title": "Browser compatibility"}, {"id": "See_also", "title": "See also"}], "slug": "Web/API/DedicatedWorkerGlobalScope/onmessage", "review_tags": []}