3 ms·
A colleague of mine wrote a true coroutine library for JavaScript: https://github.com/dherman/jstask https://github.com/dherman/jstask It depends on generators
by pcwalton 16y ago
A colleague of mine wrote a true coroutine library for JavaScript: https://github.com/dherman/jstask https://github.com/dherman/jstask
It depends on generators, so it works only in Firefox, but it's a cool hack nonetheless, and might be useful if you're developing Firefox addons.