js-coroutines gives you the power to run your Javascript processes like sorts, compression and JSON operations while your web app stays fully interactive at 60fps
js-coroutines has been a bit of a rollercoaster, from an idea sparked by a dev.to article a couple of weeks ago to a fully fledged library and a key part of my daily toolkit!
As the repo has passed 100 stars I decided to give it a proper home, with better examples and descriptions, API docs - complete but in need of some more examples over time.
The new site also has additional explanations and examples of how to get the most from this library.
Thanks for all of your feedback and comments. I'll now get back to some different kind of posting haha....
Top comments (5)
"The power to sort, stringify, compress, decompress and run your complex calculations while staying smooth and interactive at 60fps"
Very interesting stuff, I can already see how useful this can be. Will definitely be looking deeper into this!
Will try this out ASAP, looks like a winner!
Congrats! Haven't used it yet but found some useful stuff in sources that I've already applied to my projects
That's great! Very happy to have people just use the principle! This article goes into detail about how it works and does a run through of the core coroutine functions from the source code:
60fps Javascript while stringfying and parsing 100Mbs of JSON
Mike Talbot ・ May 25 ・ 9 min read