blob: cf184c192ec748b98661f78ff3a897402172d6a3 [file] [log] [blame]
// Copyright 2019 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
// Experimental Scheduling API Proposal:
] interface Scheduler {
readonly attribute TaskQueue currentTaskQueue;
TaskQueue getTaskQueue(TaskQueuePriority priority);
Task postTask(Function callback, optional SchedulerPostTaskOptions options, any... arguments);