ã¾ã¨ã async/await æ§æã¯ãPromise ã§æ¸ããå¦çã®ãã¡ç¹å®ã®ã±ã¼ã¹ãã表ç¾ã§ããªã ç¹å®ã®ã±ã¼ã¹ã¨ã¯ãããéåæå¦çã®åå¦çã¨å¾å¦çããããã 1 åãã¤ã®å ´åã®ã¿ã§ãã async/await æ§æã¯åå¿è ã«éåæå¦çãå°å ¥ããéã«é©ãã¦ããããéåæå¦çãé次å¦çã¨ãã¦æ¸ããã¨ããå¹»æ³ãä¸ããã®ã§ãã©ããã§ç¥èãã¢ãããã¼ãããæ©ä¼ãè¨ããã¹ãã§ãã ãã®è¨äºã¯ãªã«ï¼ å°ãããºã£ãã®ã§ã¾ã¨ãã¦ããããã¨ã ãasync/await ãããã° Promise ãªãã¦é£ãããã®ã¯è¦ããªãï¼ãã¨ãè¨ã£ã¦ãã¦ããªåã«ãè¤æ°ã® API ã«ä¸¦åã«ãªã¯ã¨ã¹ããæãã¦ä¸ã¤ä»¥ä¸æåããæã ãå ã«é²ããã¿ãããªåé¡ãä¸ãã¦æã§ã¦ã¿ãããâ Yuta Okamoto (@okapies) 2020å¹´12æ11æ¥ async/await 㯠Promise ã®ãã¹ããæç¶ãçãªã³ã¼ãã«è¦ã
{{#tags}}- {{label}}
{{/tags}}