Not TestedTesting not done, may not work properly
Workers & Background

Background Tasks API

Queue non-essential tasks during browser idle time using requestIdleCallback.

Checking support...
Advertisement

Interactive Input Workspace

Ready for input

Web API Execution Output

Result output will be displayed here after processing...

Native JavaScript Code Example (Zero Libraries)

requestIdleCallback((deadline) => {
  while (deadline.timeRemaining() > 0) doWork();
});

About the Background Tasks API Web API

requestIdleCallback enables scheduling background tasks during browser idle periods.

Specification:W3C & WHATWG Web API Standard
Sponsored Content