Comment

Comment by TazeTSchnitzel

Some browsers, and ES Harmony, have yield. You could add a compiler switch to use native support, although only Firefox seems to support this just now.

Curious to see how you managed the emulation - splitting up a function? Web workers? :)

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton