// Copyright 2019 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
// https://wicg.github.io/scheduling-apis/#sec-task-priorities
enum TaskPriority {
"user-blocking",
"user-visible",
"background"
};
// https://wicg.github.io/scheduling-apis/#sec-scheduler
dictionary SchedulerPostTaskOptions {
AbortSignal signal;
TaskPriority priority;
[EnforceRange] unsigned long long delay = 0;
};