blob: 8c6e06dc03453f68ce1b8329b9ad791be69987d4 [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:
enum TaskQueuePriority {
] interface TaskQueue {
readonly attribute TaskQueuePriority priority;
Task postTask(Function callback, optional TaskQueuePostTaskOptions options, any... arguments);
void take(Task task);