Not TestedTesting not done, may not work properly
Performance

Scheduler API

Prioritize task execution queues using scheduler.postTask with user-blocking or background priorities.

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)

if ('scheduler' in window) {
  await scheduler.postTask(() => doWork(), { priority: 'user-visible' });
}

About the Scheduler API Web API

Scheduler API provides fine-grained control over task scheduling and execution priority.

Specification:W3C & WHATWG Web API Standard
Sponsored Content