WebIDLpedia

Scheduler interface

Definition

Prioritized Task Scheduling defines Scheduler



[Exposed=(Window, Worker)]
interface Scheduler {
  Promise<any> postTask(SchedulerPostTaskCallback callback,
                        optional SchedulerPostTaskOptions options = {});
  Promise<undefined> yield();
};

Methods and attributes that return objects implementing Scheduler

Referring IDL interfaces/dictionaries