blob: 080f78e7a98d60ab887fb88d6067a2776e888fa6 [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.
// This is only used when the new C++ implementation is enabled.
] interface TransformStreamDefaultController {
[NotEnumerable] readonly attribute double? desiredSize;
[CallWith=ScriptState, NotEnumerable, RaisesException] void enqueue(
optional any chunk);
[CallWith=ScriptState, NotEnumerable] void error(optional any reason);
[CallWith=ScriptState, NotEnumerable] void terminate();