chromium/third_party/blink/renderer/core/streams/transform_stream.idl

// Copyright 2018 The Chromium Authors
// 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/#ts-class
[
    Exposed=(Window,Worker,Worklet)
] interface TransformStream {
    [CallWith=ScriptState, RaisesException] constructor(optional any transformer,
                optional any writableStrategy,
                optional any readableStrategy);
    readonly attribute ReadableStream readable;
    readonly attribute WritableStream writable;
};