Coroãéåæã«ã«ã¼ãã³ãæ±ãï¼ã³ã«ã¼ãã³ãæ±ãï¼ã¢ã¸ã¥ã¼ã«ã ã¨ãããã¨ã¯ãåç¥ã ã¨æããããã¾ãã¡ãã³ã¨æ¥ã¦ããªã人ãå¤ãã®ã§ã¯ãªãã ããããããã¯ãï¼ã¤ã«CoroãCoro::Introã®ä¾é¡ãæªãããã¨æããä¾ãã°ãCoro::Introã®ãµã³ãã«ã¹ã¯ãªããã¯ããã ã use Coro; async { print "async 1\n"; cede; print "async 2\n"; }; print "main 1\n"; cede; print "main 2\n"; cede; ãã®ã¹ã¯ãªããã¯ç¢ºãã«é¢ç½ãæåãããããã¹ã¬ãããå®ç¾ãã¦ããã ãã¨è¨ãããã¨ã¡ãã£ã¨ãï¼ãã§ããããããªã®gotoæã§ã§ãããããã¿ãããªãããã¦ãããªãã»ããã©ããã£ãã«ã®è©±ã«é£ãã§ãã¾ããèå¿ã®ãCoroã¯ã¹ã¬ãããå®ç¾ã§ãããã ããã¨ããã¨ãããåããã«ããããã
{{#tags}}- {{label}}
{{/tags}}