https://developer.mozilla.org › fr › docs › Web › JavaScript › Reference › Global_Objects › Promise
Promise - JavaScript | MDN - MDN Web DocsL'objet Promise permet de réaliser des traitements asynchrones en JavaScript. Découvrez comment créer, utiliser et enchaîner des promesses avec les méthodes then, catch et finally.
https://www.w3schools.com › Js › js_promise.asp
JavaScript Promises - W3SchoolsA Promise is an object that links producing code and consuming code in JavaScript. Learn how to use Promise syntax, properties, methods and examples with callbacks and timeouts.
A Promise is an object that represents the eventual completion or failure of an asynchronous operation and its resulting value. Learn how to use promises, their states, methods, and chaining with examples and terminology.
https://developer.mozilla.org › fr › docs › Web › JavaScript › Guide › Using_promises
Utiliser les promesses - JavaScript | MDN - MDN Web DocsApprenez à utiliser les promesses en JavaScript pour gérer les opérations asynchrones. Découvrez les avantages, les garanties et le chaînage des promesses avec des exemples et des fonctions fléchées.
https://www.geeksforgeeks.org › javascript-promise
JavaScript Promise - GeeksforGeeksLearn what promises are and how to use them in JavaScript to handle asynchronous code. See examples of creating, using, and chaining promises with then and catch methods.
https://www.w3schools.com › jsref › jsref_obj_promise.asp
JavaScript Promise - W3SchoolsWell organized and easy to understand Web building tutorials with lots of examples of how to use HTML, CSS, JavaScript, SQL, Python, PHP, Bootstrap, Java, XML and more. Tutorials Exercises Certificates Services Menu Search field × Log in Sign Up ★ +1 My W3Schools Get Certified Spaces Plus For Teachers Get Certified Spaces Plus For Teachers My W3Schools. Tutorials Exercises Certificates ...
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”. Le “producteur de code” prend le temps nécessaire pour produire le résultat promis, et la “promesse” donne le résultat disponible pour le code abonné quand c’est prêt. L ...
https://www.freecodecamp.org › news › javascript-promises-async-await-and-promise-methods
How to Use JavaScript Promises – Callbacks, Async/Await, and Promise ...What are Promises in JavaScript? Promises are one of the most important parts of JavaScript – but they can be confusing and difficult to understand. Many new devs, as well as experienced ones, struggle to fully grasp them. So what is a promise? A promise represents an asynchronous operation whose result will come in the future.
https://www.javascripttutorial.net › es6 › javascript-promises
JavaScript Promises - JavaScript TutorialA promise is an object that encapsulates the result of an asynchronous operation. A promise starts in the pending state and ends in either a fulfilled state or a rejected state. Use then() method to schedule a callback to be executed when the promise is fulfilled, and catch() method to schedule a callback to be invoked when the promise is rejected.
https://javascript.info › promise-basics
Promise - The Modern JavaScript TutorialLearn how to use promises, a special JavaScript object that links the producing and consuming code together. See examples of promise creation, resolution, rejection, and handling with .then and .catch methods.