{"json_modified": "2015-09-13T11:40:35.276640", "slug": "Web/API/Worker/postMessage", "tags": [], "locale": "es", "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": "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": [], "locale": "en-US", "last_edit": "2015-07-07T00:51:41", "review_tags": []}, {"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": []}, {"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": "2015-09-13T11:40:34", "label": "Worker.postMessage()", "localization_tags": ["inprogress"], "url": "/es/docs/Web/API/Worker/postMessage", "last_edit": "2015-09-13T11:40:31", "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).", "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"}], "id": 161477, "review_tags": []}