This is kinda hard to comprehend for a man, who've...
# gamedev
e
This is kinda hard to comprehend for a man, who've never really paid a lot of attention to the very concept of suspension, but I think I get it now. So, basically, all the logic is a number of infinite loops, each in its own coroutine, and when they're done with their latest iteration, they wait for other loops to join this, umm, global waiting (?) via
nextFrame
? And when every loop signals about completion, all of them get unblocked (unsuspended) and go for another iteration, right?