node.jsã¯non-blockingå¦çãè¡ããããæ¸ãæã®æå³ããªãé åºã§å¦çãå®è¡ããããã¨ãããã¾ããããã§ã¯å°ããã¨ãããããåæãã¨ã£ã¦å¦çãè¡ããã¿ã¼ã³ã«ã¤ãã¦æ¸ãã¾ããä¾ãã°AãBãCãDã¨ããå¦çããããAãBãCã®3ã¤ãçµãã£ã¦ããDãè¡ããããã¨ãä¿è¨¼ãããå ´åã®å¿ é ã®ãã¿ã¼ã³ã§ãã AãBãCã¨ãã3ã¤ã®å¦çã§ã¯ãããããDBã«åãåãããè¡ããDã¨ããå¦çã§ã¯3ã¤ã®DBåãåããã®çµæã使ã£ã¦éè¨ã®å¦çãè¡ããããããªå ´é¢ãèãã¦ã¿ã¾ããa(); b(); c(); d();ä¸ã®ããã«æ®éã«æ¸ãã¨ãnode.jsã§ã¯æã ã®ç¶æ³ã«å¿ãã¦aããdã¾ã§ã®å¦çãéåæã«å®è¡ãã¾ããdãä¸çªæåã«å®è¡ãããããããã¾ãããå°ãã¾ããããã§ãAãBãCã®3ã¤ã®å¦çã3ã¤ã¨ãå®äºããå¾ã«Dãå®è¡ãããããã«ãããã¿ã¼ã³ãæ¸ãã¾ãã// sync.js var wait = f
{{#tags}}- {{label}}
{{/tags}}