Hacker News new | ask | show | jobs
by astoilkov 898 days ago
Yeah, you are right. I reverted the commit.

About the generations, do you imagine a function that accepts a generator function and the user uses yield? Something like:

``` mainThreadScheduling(function *(yieldOrContinue) { yield yieldOrContinue; }) ```