title | date | tags |
---|---|---|
Generators in JS |
2014-08-12 11:10:08 +0200 |
generators, js, async |
Generators are function executions that can be suspended and resumed.
It's supported in Firefox and node 0.11 with --harmony, unclear when it gets to stable. You can also transpile using traceur or regenerator.