Région de recherche :

Date :

https://developer.mozilla.org › ... › docs › Web › JavaScript › Reference › Statements › async_function

async function - JavaScript | MDN - MDN Web Docs

Learn how to use async functions to write asynchronous, promise-based code in a cleaner style. See syntax, description, examples, and differences with await and promise chains.

https://www.w3schools.com › Js › js_async.asp

JavaScript Async - W3Schools

Learn how to use async and await keywords to make promises easier to write and handle in JavaScript. See examples of async functions, await syntax, and browser support.

https://developer.mozilla.org › fr › docs › Web › JavaScript › Reference › Statements › async_function

async function - JavaScript | MDN - MDN Web Docs

Une fonction asynchrone est une fonction précédée par le mot-clé async, et qui peut contenir le mot-clé await. async et await permettent un comportement asynchrone, basé sur une promesse (Promise), écrite de façon simple, et évitant de configurer explicitement les chaînes de promesse.

https://javascript.info › async-await

Async/await - The Modern JavaScript Tutorial

Learn how to use async/await syntax to work with promises in a more comfortable fashion. See examples of async functions, await keyword, error handling, and top-level await in modules.

https://developer.mozilla.org › fr › docs › Web › JavaScript › Reference › Operators › async_function

Expression async function - JavaScript | MDN - MDN Web Docs

Le mot-clé async function peut être utilisé pour définir une fonction asynchrone au sein d'une expression. Note : Il est aussi possible de définir une fonction asynchrone en utilisant une instruction async function. Syntaxe. js. async function [name]([param1[, param2[, …, paramN]]]) { . instructions. } Paramètres. name. Le nom de la fonction.

https://www.javascripttutorial.net › javascript-async-await

JavaScript Async / Await: Asynchronous JavaScript - JavaScript Tutorial

Learn how to use the async/await keywords to write asynchronous code that looks more like synchronous code and is more readable. See how to handle promises, errors, and multiple awaits in JavaScript.

https://fr.javascript.info › async-await

Async/await - JavaScript

Fonctions asynchrones. Commençons par le mot-clé async. Il peut être placé avant une fonction, comme ceci: async function f() { return 1; } Le mot “async” devant une fonction signifie une chose simple : une fonction renvoie toujours une promesse. Les autres valeurs sont enveloppées dans une promesse résolue automatiquement.

https://javascript.info › async

Promises, async/await - The Modern JavaScript Tutorial

We want to make this open-source project available for people all around the world. Help to translate the content of this tutorial to your language!

https://devdoc.net › ... › en-US › docs › Web › JavaScript › Reference › Statements › async_function.html

async function - JavaScript | MDN

Learn how to define and use async functions in JavaScript, which return Promises and can contain await expressions. See examples, syntax, specifications and browser compatibility.

https://www.sitepoint.com › javascript-async-await

A Beginner’s Guide to JavaScript async/await, with Examples

Learn how to use the async and await keywords in JavaScript to handle asynchronous operations with a modern syntax. This guide covers the basics of async functions, error handling, parallel execution, and more.

A Beginner’s Guide to JavaScript async/await, with Examples