{"json_modified": "2015-08-18T05:07:56.520700", "slug": "Web/JavaScript/Reference/Global_Objects/Promise/race", "tags": ["javascript", "Experimental", "JavaScript", "Promise", "ECMAScript6", "Method"], "locale": "pt-BR", "title": "Promise.race()", "translations": [{"title": "Promise.race()", "url": "/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise/race", "tags": ["Promise", "ECMAScript6", "Experimental", "Method", "JavaScript"], "summary": "The Promise.race(iterable)
method returns a promise that resolves or rejects as soon as one of the promises in the iterable resolves or rejects, with the value or reason from that promise.", "localization_tags": [], "locale": "en-US", "last_edit": "2015-07-09T07:59:58", "review_tags": []}, {"title": "Promise.race()", "url": "/fr/docs/Web/JavaScript/Reference/Objets_globaux/Promise/race", "tags": ["Reference", "Experimental", "R\u00e9f\u00e9rence", "Exp\u00e9rimental", "JavaScript", "Promise", "ECMAScript6", "Method"], "summary": "La m\u00e9thode Promise.race(it\u00e9rable)
renvoie une promesse qui est r\u00e9solue ou rejet\u00e9e d\u00e8s qu'une des promesses de l'it\u00e9rables est r\u00e9solue ou rejet\u00e9e. La valeur (dans le cas de la r\u00e9solution) ou la raison (dans le cas d'un \u00e9chec) utilis\u00e9e est celle de la promesse de l'it\u00e9rable qui est resolue/qui \u00e9choue.", "localization_tags": [], "locale": "fr", "last_edit": "2015-08-04T04:30:13", "review_tags": []}, {"title": "Promise.race()", "url": "/zh-CN/docs/Web/JavaScript/Reference/Global_Objects/Promise/race", "tags": [], "summary": "Promise.race(iterable)\u65b9\u6cd5\u8fd4\u56de\u4e00\u4e2apromise\uff0c\u8fd9\u4e2apromise\u5728iterable\u4e2d\u7684
\u4efb\u610f\u4e00\u4e2apromise\u88ab\u89e3\u51b3\u6216\u62d2\u7edd\u540e\uff0c
\u7acb\u523b\u4ee5\u76f8\u540c\u7684\u89e3\u51b3\u503c
\u88ab\u89e3\u51b3\u6216\u4ee5\u76f8\u540c\u7684\u62d2\u7edd\u539f\u56e0\u88ab
\u62d2\u7edd\u3002
", "localization_tags": [], "locale": "zh-CN", "last_edit": "2015-04-04T12:39:28", "review_tags": []}, {"title": "Promise.race()", "url": "/ja/docs/Web/JavaScript/Reference/Global_Objects/Promise/race", "tags": ["Experimental", "Exp\u00e9rimental", "JavaScript", "Promise", "ECMAScript6", "Method"], "summary": "\u53cd\u5fa9\u306e\u30d7\u30ed\u30df\u30b9\u306e\u4e00\u3064\u304c\u6210\u529f\u3057\u305f\u308a\u5931\u6557\u3057\u305f\u308a\u3057\u3066\u3059\u3050\u306b\u5024\u3084\u7406\u7531\u3068\u3068\u3082\u306b\u30d7\u30ed\u30df\u30b9\u3092\u8fd4\u3057\u307e\u3059\u3002", "localization_tags": ["inprogress"], "locale": "ja", "last_edit": "2015-06-21T08:24:49", "review_tags": ["editorial"]}], "modified": "2015-08-18T05:06:41", "label": "Promise.race()", "localization_tags": [], "url": "/pt-BR/docs/Web/JavaScript/Reference/Global_Objects/Promise/race", "last_edit": "2015-08-18T05:06:37", "summary": "O m\u00e9todo\u00a0Promise.race(iterable)
\u00a0retorna\u00a0uma promise que\u00a0resolve\u00a0ou\u00a0rejeita\u00a0assim que uma das\u00a0promises no\u00a0iter\u00e1vel\u00a0resolver\u00a0ou\u00a0rejeitar, com o valor\u00a0ou\u00a0raz\u00e3o daquela\u00a0promise.", "sections": [{"id": "Quick_Links", "title": null}, {"id": "Sintaxe", "title": "Sintaxe"}, {"id": "Par\u00e2metros", "title": "Par\u00e2metros"}, {"id": "Descri\u00e7\u00e3o", "title": "Descri\u00e7\u00e3o"}, {"id": "Exemplos", "title": "Exemplos"}, {"id": "Usando_Promise.race_\u2013_exemplos_com_setTimeout", "title": "Usando\u00a0"}, {"id": "Especifica\u00e7\u00f5es", "title": "Especifica\u00e7\u00f5es"}, {"id": "Compatibilidade_com_browsers", "title": "Compatibilidade com browsers"}, {"id": "Ver_tamb\u00e9m", "title": "Ver tamb\u00e9m"}], "id": 159785, "review_tags": []}