Re: [whatwg/streams] "If stream.[[readableStreamController]] is not u..." (#543)

> ReadableStreamDefaultController is not exported, so it can only be constructed from within the spec.

You can get it though:

```js
let ReadableStreamDefaultController;
new ReadableStream({
  start(c) {
    ReadableStreamDefaultController = c.constructor;
  }
});

new ReadableStreamDefaultController({});
```

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/streams/issues/543#issuecomment-254505142

Received on Tuesday, 18 October 2016 13:21:14 UTC