ããã«ã¡ã¯ä¸¸å±±@h13i32maruã§ãã ES6ã®Generatorãåå¼·ããé¡æã¨ãã¦async/awaitãå®è£ ãã¦ã¿ãã®ã§ããã®ã¡ã¢ã§ãã Genratorã¨ã¯ ES6ã®Generatorã¨ã¯ãä»»æã®æç¹ã§å¦çãä¸æ/åéãããã¨ãã§ããé¢æ°ãã¨ãããã®ãä¸è¬çã«ã¯ã³ã«ã¼ãã³(coroutine)ã¨å¼ã°ãããã®ã§ããµãã«ã¼ãã³(é常ã®é¢æ°)ãä¸è¬åãããã®ãES6ã§Generatorãç解ããã«ã¯3ã¤ã®ãã¼ã¯ã¼ããããã Generator Function å¦çã®ä¸æ/åéãè¡ãããç¹æ®ãªé¢æ° function* generatorFunction(){}ã®ããã«function*ã使ã£ã¦å®ç¾©ãã Generator Object ä¸æãããå¦çãåéããããå¤ãåå¾ã対ãããªãã¸ã§ã¯ã var generatorObject = generatorFunction()ã®ããã«å
{{#tags}}- {{label}}
{{/tags}}