Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add requestIdleCallback feature #2274

Merged
merged 4 commits into from
Nov 20, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 0 additions & 10 deletions features/draft/spec/requestidlecallback.yml

This file was deleted.

10 changes: 10 additions & 0 deletions features/requestidlecallback.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
name: requestIdleCallback()
description: "The `requestIdleCallback()` API queues a function that runs in idle browser time, either at the end of a frame or when the user is inactive. Also known as the background tasks API."
spec: https://w3c.github.io/requestidlecallback/
caniuse: requestidlecallback
compat_features:
- api.IdleDeadline
- api.IdleDeadline.didTimeout
- api.IdleDeadline.timeRemaining
- api.Window.cancelIdleCallback
- api.Window.requestIdleCallback