Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Oh, so you really did mean `var tester = test;`

The reason that might be less good than the current approaches is that you may want to spawn multiple 'instances' of the generator/coroutine. If I'm understanding your proposal correctly, you'd only ever be able to run it once.



Oh, that's a good point. Didn't consider that.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: