ãHackerNews翻訳ãã¦ã¿ããã POSTD (ãã¹ãã»ãã£ã¼) ã¨ãã¦ãªãã¥ã¼ã¢ã«ãã¾ããï¼ ãã®è¨äºã¯ããã§ãå ¬éããã¦ãã¾ãã Original article: Managing Node.js Callback Hell with Promises, Generators and Other Approaches by Marc Harter ä¸ã®ãããªã³ã¼ããã親ãã¿ãããã¦ãã³ã¼ã«ããã¯å°çãã¨ããæ»ã®ãã©ããããã¨ãå¼ã°ãã¦ããã®ã¯ãåãã§ãããã doAsync1(function () { doAsync2(function () { doAsync3(function () { doAsync4(function () { }) }) }) ãã®ç¶æ ãã³ã¼ã«ããã¯å°çãã©ããã¯ãæè¦ã®åãããã¨ããã§ãããããã¹ãããããæ·±ãã¦ãå ¨ãåé¡ããªãã³ã¼ããããããã§
{{#tags}}- {{label}}
{{/tags}}