- From: Domenic Denicola <notifications@github.com>
- Date: Thu, 20 Aug 2015 12:45:04 -0700
- To: whatwg/streams <streams@noreply.github.com>
Received on Thursday, 20 August 2015 19:45:33 UTC
Plan:
```js
class WritableStream {
constructor(underlyingSink = {}, { size, highWaterMark = 0 } = {})
get locked()
getWriter()
abort(reason)
close()
}
class WritableStreamWriter {
constructor(stream)
get closed()
get ready() // see #318
abort(reason)
close()
releaseLock()
write(chunk)
}
```
No need for WritableStreamController. Can eliminate `error` parameter to underlying sink `start()`.
---
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/streams/issues/319#issuecomment-133150569
Received on Thursday, 20 August 2015 19:45:33 UTC