The Javascript generator cannot help too much since it is not a real coroutine. Therefore, I hope to have a coroutine in the browser using the new ecmascript 6 keyword, "yield". that is, I hope that I can complete a few frames in a stop lot.
As far as I know, I just found a Javascript 1.7+-based coroutine library in Firefox, which can be found at http://www.neilmix.com/2007/02/07/threading-in-javascript-17/ .
"exit" is supported in the Chrome browser for a long time. So I'm wondering if there is a coroutine implementation that supports the Chrome browser using the Javascript generator.
Thank!
javascript generator coroutine google-chrome yield-keyword
Lin Z 04 Feb '14 at 2:57
source share