{"json_modified": "2016-10-21T16:59:04.453191", "uuid": "763e77e6-22fc-4c89-b19e-699643d10aac", "title": "Worker.postMessage()", "url": "/en-US/docs/Web/API/Worker/postMessage", "tags": ["Worker", "API", "Reference", "R\u00e9f\u00e9rence", "postMessage", "Web Workers", "JavaScript", "Method"], "translations": [{"uuid": "e905ea03-6145-4ce2-9e69-2cf76783b336", "title": "Worker.postMessage()", "url": "/es/docs/Web/API/Worker/postMessage", "tags": [], "summary": "Web Workers API posse un metodo llamado postMessage()
el cual envia un mensaje al ambito del worker. Este metodo acepta un parametro, el cual es un dato enviado al worker. El dato puede ser un valor o objeto controlado por el algoritmo strctured clone (incluye referencias ciclicas).", "localization_tags": ["inprogress"], "locale": "es", "last_edit": "2015-09-13T11:40:31", "review_tags": []}, {"uuid": "121d6619-26df-41b4-a9c7-ee864e3dcb41", "title": "Worker.postMessage()", "url": "/fr/docs/Web/API/Worker/postMessage", "tags": [], "summary": "La m\u00e9thode\u00a0Worker.postMessage()
\u00a0envoie un message \u00e0 la port\u00e9e locale du worker. Cette fonction accepte un seul param\u00e8tre, qui est la donn\u00e9e \u00e0 envoyer au worker. Cette donn\u00e9e peut-\u00eatre de n'importe quelle valeur ou un objet JavaScript pris en charge par l'algorithme de clone structur\u00e9, qui inclut les r\u00e9f\u00e9rences cycliques.", "localization_tags": [], "locale": "fr", "last_edit": "2015-01-30T06:24:29", "review_tags": []}, {"uuid": "5bf3048e-45fb-477c-a685-7501c8c8ff42", "title": "Worker.postMessage()", "url": "/nl/docs/Web/API/Worker/postMessage", "tags": ["Worker", "API", "web workerd"], "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.", "localization_tags": ["inprogress"], "locale": "nl", "last_edit": "2015-02-26T05:06:52", "review_tags": ["technical", "editorial"]}], "modified": "2016-10-21T16:59:03", "label": "Worker.postMessage()", "localization_tags": [], "locale": "en-US", "id": 82201, "last_edit": "2016-10-21T16:58:57", "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": null}, {"id": "Syntax", "title": "Syntax"}, {"id": "Parameters", "title": "Parameters"}, {"id": "Returns", "title": "Returns"}, {"id": "Example", "title": "Example"}, {"id": "Transfer_Example", "title": "Transfer Example"}, {"id": "Main_thread_code", "title": "Main thread code:"}, {"id": "Worker_code", "title": "Worker code"}, {"id": "Output_logged", "title": "Output logged"}, {"id": "Specifications", "title": "Specifications"}, {"id": "Browser_compatibility", "title": "Browser compatibility"}, {"id": "See_also", "title": "See also"}], "slug": "Web/API/Worker/postMessage", "review_tags": []}