astoilkov/main-thread-scheduling
View on GitHub ↗ ★ 1,326 TypeScript
Fast and consistently responsive apps using a single function call
3 mentions on Hacker News by 2 people: 1 story, 2 comments · first 2024-01-04 · latest 2025-01-05
20082026
-
For the past 4 years, I've been working on a library that does exactly this — https://github.com/astoilkov/main-thread-scheduling . It works in all browsers and it breaks long tasks. Sometimes it's even more powerful than…
comment by astoilkov · 2025-01-05 · in Breaking Up with Long Tasks or: how I learned to group loops and wield the yield -
It's done — https://github.com/astoilkov/main-thread-scheduling/commit/0... . Thanks. A little thing but a great improvement. I'm now wondering why I did that.
comment by astoilkov · 2024-01-05 · in Main-Thread-Scheduling -
▲ 84
Main-Thread-Schedulingstory by fagnerbrack · 2024-01-04 · 24 comments