Hacker GitHub

← All repos

hiroki0525/idle-task

View on GitHub ↗ ★ 151 TypeScript

Improve your website performance by executing JavaScript during a browser's idle periods.

4 mentions on Hacker News by 2 people: 0 stories, 4 comments · first 2022-11-24 · latest 2022-11-25

Mentions per year 4 mentions · busiest year 2022 (4)
20082026
  1. …>this is a convenience wrapper around “requestIdleCallback” That's right. I changed README. https://github.com/hiroki0525/idle-task#features
  2. `idle-task` has shim as below . https://github.com/hiroki0525/idle-task/blob/main/src/index.... References - https://developer.chrome.com/blog/using-requestidlecallback/...
  3. …the description makes it confusing. That's right. I changed README to everyone to understand it. https://github.com/hiroki0525/idle-task#features
  4. The code: https://github.com/hiroki0525/idle-task/blob/main/src/index.... Some initial impressions (based on https://github.com/hiroki0525/idle-task/blob/7e88c8b97c926cf... ): • The cancelIdleCallback fallback implementation will never be…