summaryrefslogtreecommitdiff
path: root/chromium/third_party/blink/renderer/core/streams/transform_stream.idl
blob: ad26ffa35da509b5c126dac51d0ebd3d82fef0e8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
// 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.

// 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);
    [NotEnumerable] readonly attribute ReadableStream readable;
    [NotEnumerable] readonly attribute WritableStream writable;
};