3 ms·
You might want to check out this thread from last week[0] about scheduling tasks when the event loop is idle. The author also published a library for it[1] [0]
by ergl 8y ago
You might want to check out this thread from last week[0] about scheduling tasks when the event loop is idle. The author also published a library for it[1]
[0]: https://news.ycombinator.com/item?id=18030848 https://news.ycombinator.com/item?id=18030848
[1]: https://github.com/GoogleChromeLabs/idlize https://github.com/GoogleChromeLabs/idlize