Favourite use of async iterators will be having async functions `yield` and pause until next frame if their running time prevents 60fps.
-
-
You might be able to build the think you're on about using ric + async generators
-
ahh, i think this would do the trick... https://gist.github.com/kittens/394c9ebe42f9db0248b79ab3144decb0 …
End of conversation
New conversation -
-
-
requestIdleCallback gives you the info you need to decide when to yield tho, the amount of ms you have in the chunk
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.
he/him 