Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

promise.all async await

async function fetchABC() {
  const [a, b, c] = await Promise.all([a(), b(), c()]);

} 
Source by alligator.io #
 
PREVIOUS NEXT
Tagged: #async #await
ADD COMMENT
Topic
Name
7+2 =