blob: b3a2bf746220d8e3bc3ab2e59709bc8b83bde267 [file] [log] [blame]
// Copyright 2018 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.
[
Exposed=Window,
RuntimeEnabled=WorkerTaskQueue
] interface Task {
[CallWith=ScriptState] readonly attribute Promise<any> result;
void cancel();
};