Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

javascript promise.all

  try {
    const [res1, res2, res3] = await Promise.all([
      Promise1,
      Promise2,
      Promise3,
    ]);
  } catch (err) {
    console.error(err);
  }
Source by developer.mozilla.org #
 
PREVIOUS NEXT
Tagged: #javascript
ADD COMMENT
Topic
Name
1+3 =