ããã¯ä½ï¼ javascript ã® async/await ã使ãããªãããã«å¿ è¦ãªäºæã«ã¤ãã¦ãç§ãªãã«èª¬æãããã®ã§ãã æ¸ãã¦ããã㨠ã¹ãããï¼ï¼await 使ãã°å¾ ã£ã¦ããã å¿ è¦æå°éã® async/awaitãåã³ãã¨ã©ã¼ã® catch ã®è©± ã¹ãããï¼ï¼promise ã¨ãããã® promise ã®ä¸ã«ã¯ãæ£å¸¸ãã¼ã¿ = resolveãã¨ãã¨ã©ã¼ = rejectãã®ãããããä¿ç®¡ã§ããã¨ãã話 ã©ãããã°ãpromise ãããæ£å¸¸ãã¼ã¿(resolve)ãåãåºãããï¼ ã©ãããã°ãpromise ãããã¨ã©ã¼(reject)ãåãåºãããï¼ Promise.all ã®è©± ã¹ãããï¼ï¼promiseãä½ãæ¹æ³ callbackã¹ã¿ã¤ã«ã®é¢æ°ããpromiseã¹ã¿ã¤ã«ã¨ãã¦ä½¿ãæ¹æ³ setTimeout() ã promiseã¹ã¿ã¤ã«ã«ãã async 㧠promi
{{#tags}}- {{label}}
{{/tags}}