Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

The requestIdleCallback API isn’t specific to inactive tabs, and trying to use it to do background work in general is not a Good Idea: the first idle callback is typically going to fire (almost) immediately after painting’s complete, or some handful of milliseconds after.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: