- From: Domenic Denicola <notifications@github.com>
- Date: Tue, 18 Oct 2016 06:20:30 -0700
- To: whatwg/streams <streams@noreply.github.com>
Received on Tuesday, 18 October 2016 13:21:14 UTC
> 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