▲ setIdle(), for detecting when your users aren't busy at github.com▼5 up and 1 down, posted by stevenmhunt 2996 days ago 2 comments
nolanlawson 2995 days ago. link parent 2 points ▲ ▼There's also requestIdleCallback(), which is a new browser API that accomplishes more-or-less what this library does (only supported in Chrome right now, though): https://developer.mozilla.org/en-US/docs/Web/API/Window/requestIdleCallback