blob: 7bd080401fd6e3b9f9d6bff8021892e3c68c8904 [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:
// https://docs.google.com/document/d/1xU7HyNsEsbXhTgt0ZnXDbeSXm5-m5FzkLJAT6LTizEI/edit#
[
Exposed=Window,
ImplementedAs=DOMTaskSignal,
RuntimeEnabled=WebScheduler
] interface TaskSignal : AbortSignal {
[MeasureAs=TaskSignalPriority] readonly attribute TaskPriority priority;
attribute EventHandler onprioritychange;
};