blob: 33c806618e70d0c7f866d9b852b113c59f992f19 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
// 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.
// https://streams.spec.whatwg.org/#rs-default-controller-class-definition
interface ReadableStreamDefaultController {
readonly attribute double? desiredSize;
[CallWith=ScriptState, RaisesException] void close();
[CallWith=ScriptState, RaisesException] void enqueue(
optional any chunk);
[CallWith=ScriptState] void error(optional any e);
};
|