Generator support yet in Atom?


Edit: Answer to my own question: Yes generators are supported. My code below has the asterisk in the wrong position.

This is a cross-post from atom/electron.

Does atom support generators yet? The discussion mentioned above claims they were added to electron at the end of last year.

I have a package that could really use generators. I would use them to divide a long-running calculation into chunks.

When I place the code below in an atom package I’m getting an Unexpected token * error. This is in javascript code escaped in coffeescript. Any idea what I’m doing wrong?

function test* () {