https://www.w3schools.com › Js › js_promise.asp
JavaScript Promises - W3SchoolsLearn how to use JavaScript Promises to handle asynchronous code with callbacks. See examples of Promise syntax, properties, methods, and browser support.
https://developer.mozilla.org › fr › docs › Web › JavaScript › Reference › Global_Objects › Promise
Promise - JavaScript | MDNL'objet Promise (pour « promesse ») est utilisé pour réaliser des traitements de façon asynchrone. Une promesse représente une valeur qui peut être disponible maintenant, dans le futur voire jamais.
Learn how to use the Promise object to handle asynchronous operations in JavaScript. A Promise represents the eventual completion (or failure) of an asynchronous operation and its resulting value, and can be chained with then(), catch(), and finally() methods.
https://developer.mozilla.org › fr › docs › Web › JavaScript › Guide › Using_promises
Utiliser les promesses - JavaScript | MDNPromise.resolve () et Promise.reject () sont des méthodes qui permettent de créer des promesses déjà tenues ou rompues. Promise.all () et Promise.race () sont deux outils de composition qui permettent de mener des opérations asynchrones en parallèle.
https://javascript.info › promise-basics
Promise - The Modern JavaScript TutorialA promise is a special JavaScript object that links the “producing code” and the “consuming code” together. In terms of our analogy: this is the “subscription list”. The “producing code” takes whatever time it needs to produce the promised result, and the “promise” makes that result available to all of the subscribed code when it’s ready.
https://www.pierre-giraud.com › javascript-apprendre-coder-cours › promesse-promise
Les promesses en JavaScript - Pierre GiraudIntroduction au JavaScript. L’environnement de travail pour ce cours JavaScript. Où écrire le code JavaScript ? Commentaires, indentation et syntaxe de base en JavaScript. LES VARIABLES ET TYPES DE VALEURS JAVASCRIPT. Présentation des variables JavaScript. Les types de données en JavaScript.
https://fr.javascript.info › promise-basics
Promesse (promise) - JavaScriptUne promesse (promise) est un objet spécial en JavaScript qui lie le “producteur de code” et le “consommateur de code” ensemble. En comparant à notre analogie c’est la “liste d’abonnement”.
https://www.javascripttutorial.net › es6 › javascript-promises
JavaScript Promises - JavaScript TutorialLearn how to use JavaScript promises to handle asynchronous operations in a simpler and more elegant way. This tutorial covers the basics of promises, how to create, chain, and handle them, and how to avoid common pitfalls.
https://web.dev › articles › promises
JavaScript Promises: an introduction - web.devLearn what promises are, how they simplify deferred and asynchronous computations, and how to use them in JavaScript. This article explains the terminology, the API, and the benefits of promises with examples and comparisons.
https://www.freecodecamp.org › news › the-javascript-promises-handbook
How JavaScript Promises Work – Handbook for Beginners - freeCodeCamp.orgIn simple terms, a Promise is an object representing an asynchronous operation. This object can tell you when the operation succeeds, or when it fails. When you call a Promise-based API, the function returns a Promise object that will eventually provide the result of the operation. During its lifetime, a Promise can be in one of three states: