1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 12:57:35 +00:00

LibWeb/HTML: Port Window.requestIdleCallback() to IDL

This commit is contained in:
Linus Groh 2023-03-06 23:38:44 +00:00
parent 606b9ff6f3
commit b410804f54
5 changed files with 59 additions and 41 deletions

View file

@ -0,0 +1,6 @@
#import <RequestIdleCallback/IdleDeadline.idl>
dictionary IdleRequestOptions {
unsigned long timeout;
};
callback IdleRequestCallback = undefined (IdleDeadline deadline);