{"json_modified": "2016-10-20T13:21:29.527795", "uuid": "656aefd5-2b12-42dd-8720-fc72a96b26cf", "title": "Promise", "url": "/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise", "tags": ["Promise", "ECMAScript6", "JavaScript"], "translations": [{"uuid": "98924f16-c26d-4221-aba7-90d5144091e2", "title": "Promise", "url": "/de/docs/Web/JavaScript/Reference/Global_Objects/Promise", "tags": [], "summary": "Das Promise-Objekt wird f\u00fcr asynchrone Berechnungen verwendet. Ein Promise kann sich in einem von drei Zust\u00e4nden befinden:", "localization_tags": [], "locale": "de", "last_edit": "2016-09-06T00:13:56", "review_tags": []}, {"uuid": "68b8e648-ec85-4ade-8f07-bf0136563470", "title": "Promesa", "url": "/es/docs/Web/JavaScript/Referencia/Objetos_globales/Promesa", "tags": ["Promesa", "Promise", "ECMAScript6", "JavaScript"], "summary": "El objeto\u00a0Promise\u00a0se usa para computaciones diferidas o as\u00edncronas. Una Promesa puede estar en uno de estos estados:", "localization_tags": [], "locale": "es", "last_edit": "2016-10-19T01:08:34", "review_tags": []}, {"uuid": "2402fd3f-a3a4-4bee-936f-a22712e50f7c", "title": "Promise", "url": "/fr/docs/Web/JavaScript/Reference/Objets_globaux/Promise", "tags": ["R\u00e9f\u00e9rence", "ECMAScript6", "Promise", "JavaScript"], "summary": "L'interface Promise repr\u00e9sente un interm\u00e9diaire (proxy) vers une valeur qui n'est pas n\u00e9cessairement connue au moment de sa cr\u00e9ation. Cela permet d'associer des gestionnaires au succ\u00e8s \u00e9ventuel d'une action asynchrone et \u00e0 la raison d'une erreur. Ainsi, des m\u00e9thodes asynchrones renvoient des valeurs comme les m\u00e9thodes synchrones, la seule diff\u00e9rence est que la valeur retourn\u00e9e par la m\u00e9thode asynchrone est une promesse (d'avoir une valeur plus tard).", "localization_tags": [], "locale": "fr", "last_edit": "2016-10-20T11:28:50", "review_tags": []}, {"uuid": "656aefd5-2b12-42dd-8720-fc72a96b26cf", "title": "Promise", "url": "/id/docs/Web/JavaScript/Reference/Global_Objects/Promise", "tags": ["Promise", "ECMAScript6", "TopicStub", "NeedsTranslation", "JavaScript"], "summary": "The Promise object is used for deferred and asynchronous computations. A Promise represents an operation that hasn't completed yet, but is expected in the future.", "localization_tags": ["inprogress"], "locale": "id", "last_edit": "2016-05-02T13:47:22", "review_tags": []}, {"uuid": "11f8e50f-0314-471c-a834-1c3869db3a4b", "title": "Promise", "url": "/it/docs/Web/JavaScript/Reference/Global_Objects/Promise", "tags": [], "summary": "Gli oggetti Promise sono usati per computazioni in differita e asincrone. Una Promise rappresenta un'operazione che non \u00e8\u00a0ancora completata, ma lo sar\u00e0 in futuro.", "localization_tags": [], "locale": "it", "last_edit": "2015-12-21T08:30:14", "review_tags": ["editorial"]}, {"uuid": "50d11f89-6240-4863-b39f-6fa30a83615e", "title": "Promise", "url": "/ja/docs/Web/JavaScript/Reference/Global_Objects/Promise", "tags": ["Promise", "ECMAScript6", "Experimental", "Exp\u00e9rimental", "JavaScript"], "summary": "Promise\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u306f\u51e6\u7406\u306e\u5ef6\u671f(deferred)\u3068\u975e\u540c\u671f\u51e6\u7406\u306e\u305f\u3081\u306b\u4f7f\u308f\u308c\u307e\u3059\u3002Promise\u306f\u307e\u3060\u5b8c\u4e86\u3057\u3066\u3044\u306a\u3044\u304c\u3001\u3044\u305a\u308c\u5b8c\u4e86\u3059\u308b\u51e6\u7406\u3092\u8868\u3057\u307e\u3059\u3002", "localization_tags": ["inprogress"], "locale": "ja", "last_edit": "2016-08-04T18:12:32", "review_tags": []}, {"uuid": "0563d90b-0313-4ac4-a30e-af30a17b6ba1", "title": "Promise", "url": "/ko/docs/Web/JavaScript/Reference/Global_Objects/Promise", "tags": ["Promise", "ECMAScript6", "JavaScript"], "summary": "Promise \uac1d\uccb4\ub294 \ube44\ub3d9\uae30 \uacc4\uc0b0\uc744 \uc704\ud574 \uc0ac\uc6a9\ub429\ub2c8\ub2e4. Promise\ub294 \uc544\uc9c1\uc740 \uc544\ub2c8\uc9c0\ub9cc \ub098\uc911\uc5d0 \uc644\ub8cc\ub420 \uac83\uc73c\ub85c \uae30\ub300\ub418\ub294 \uc5f0\uc0b0\uc744 \ud45c\ud604\ud569\ub2c8\ub2e4.", "localization_tags": [], "locale": "ko", "last_edit": "2016-08-02T01:00:49", "review_tags": []}, {"uuid": "7307b290-c840-4917-a2a0-24a3555a37f0", "title": "Promise", "url": "/nl/docs/Web/JavaScript/Reference/Global_Objects/Promise", "tags": [], "summary": "Het\u00a0Promise\u00a0(belofte) object wordt gebruikt voor uitgestelde en asynchrone berekeningen. Een Promise is in \u00e9\u00e9n van deze toestanden:", "localization_tags": ["inprogress"], "locale": "nl", "last_edit": "2015-05-16T15:34:53", "review_tags": []}, {"uuid": "0a5de686-6a73-4302-9fbe-68f72eca08cf", "title": "Promise", "url": "/pt-BR/docs/Web/JavaScript/Reference/Global_Objects/Promise", "tags": ["Promise", "ECMAScript6", "JavaScript"], "summary": "Promise \u00e9 um objeto usado para processamento ass\u00edncrono. Um Promise (de \"promessa\") representa um\u00a0valor que pode estar dispon\u00edvel agora, no futuro ou nunca.", "localization_tags": [], "locale": "pt-BR", "last_edit": "2016-10-05T13:11:49", "review_tags": []}, {"uuid": "6d575ee5-9128-419d-9d81-2b5ccb494d6e", "title": "Promise", "url": "/ru/docs/Web/JavaScript/Reference/Global_Objects/Promise", "tags": ["Promise", "ECMAScript6", "\u041e\u0431\u0435\u0449\u0430\u043d\u0438\u044f", "JavaScript"], "summary": "\u041e\u0431\u044a\u0435\u043a\u0442\u00a0Promise\u00a0(\u043e\u0431\u0435\u0449\u0430\u043d\u0438\u0435) \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u0442\u0441\u044f \u0434\u043b\u044f \u043e\u0442\u043b\u043e\u0436\u0435\u043d\u043d\u044b\u0445 \u0438 \u0430\u0441\u0438\u043d\u0445\u0440\u043e\u043d\u043d\u044b\u0445 \u0432\u044b\u0447\u0438\u0441\u043b\u0435\u043d\u0438\u0439. Promise \u043c\u043e\u0436\u0435\u0442 \u043d\u0430\u0445\u043e\u0434\u0438\u0442\u044c\u0441\u044f \u0432 \u0442\u0440\u0451\u0445 \u0441\u043e\u0441\u0442\u043e\u044f\u043d\u0438\u044f\u0445:", "localization_tags": [], "locale": "ru", "last_edit": "2016-08-22T09:29:25", "review_tags": []}, {"uuid": "ea4d3ad2-18cf-40af-ba29-6c1c82c4b4c9", "title": "Promise", "url": "/tr/docs/Web/JavaScript/Reference/Global_Objects/Promise", "tags": [], "summary": "A Promise\u00a0represents a proxy for a value not necessarily known when the promise is created. It allows you to associate handlers to an asynchronous action's eventual success value or failure reason. This lets asynchronous methods return values like synchronous methods: instead of the final value, the asynchronous method returns a promise of having a value at some point in the future.", "localization_tags": ["inprogress"], "locale": "tr", "last_edit": "2016-01-07T04:34:11", "review_tags": []}, {"uuid": "11bf57c3-e763-4df0-8164-9355595692d5", "title": "Promise", "url": "/zh-CN/docs/Web/JavaScript/Reference/Global_Objects/Promise", "tags": [], "summary": "\u6240\u8c13Promise\uff0c\u7b80\u5355\u8bf4\u5c31\u662f\u4e00\u4e2a\u5bb9\u5668\uff0c\u91cc\u9762\u4fdd\u5b58\u7740\u67d0\u4e2a\u672a\u6765\u624d\u4f1a\u7ed3\u675f\u7684\u4e8b\u4ef6\uff08\u901a\u5e38\u662f\u4e00\u4e2a\u5f02\u6b65\u64cd\u4f5c\uff09\u7684\u7ed3\u679c\u3002\uff08\u8fd9\u91cc\u7684\u7ffb\u8bd1\u6e90\u81eaECMAScript 2015\u5173\u4e8ePromise\u7684\u89e3\u91ca\uff0c\u6ca1\u6709\u539f\u6587\u7ffb\u8bd1MDN\u7684\u539f\u8bdd\uff0c\u5982\u679c\u60a8\u6709\u7591\u95ee\uff0c\u53ef\u4ee5\u53c2\u770b\u82f1\u6587\u7684\u8bf4\u660e\u6587\u6863\uff1ahttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise---\u8bd1\u8005\u6ce8\uff09", "localization_tags": [], "locale": "zh-CN", "last_edit": "2016-10-19T20:56:48", "review_tags": []}], "modified": "2016-10-20T13:21:19", "label": "Promise", "localization_tags": [], "locale": "en-US", "id": 87653, "last_edit": "2016-10-20T13:20:54", "summary": "The Promise object is used for asynchronous computations. A Promise represents a value which may be available now, or in the future, or never.", "sections": [{"id": "Quick_Links", "title": null}, {"id": "Syntax", "title": "Syntax"}, {"id": "Parameters", "title": "Parameters"}, {"id": "Description", "title": "Description"}, {"id": "Properties", "title": "Properties"}, {"id": "Methods", "title": "Methods"}, {"id": "Promise_prototype", "title": null}, {"id": "Properties_2", "title": "Properties"}, {"id": "Methods_2", "title": "Methods"}, {"id": "Examples", "title": "Examples"}, {"id": "Creating_a_Promise", "title": "Creating a Promise"}, {"id": "Example_using_XMLHttpRequest", "title": "Example using\u00a0XMLHttpRequest"}, {"id": "Creating_a_Promise_2", "title": "Creating a Promise"}, {"id": "Loading_an_image_with_XHR", "title": "Loading an image with XHR"}, {"id": "Specifications", "title": "Specifications"}, {"id": "Browser_compatibility", "title": "Browser compatibility"}, {"id": "See_also", "title": "See also"}], "slug": "Web/JavaScript/Reference/Global_Objects/Promise", "review_tags": []}