Re: [whatwg/streams] Unified error handling for WritableStream (#721)

ricea commented on this pull request.



> @@ -12,6 +12,9 @@ const ErrorSteps = Symbol('[[ErrorSteps]]');
 class WritableStream {
   constructor(underlyingSink = {}, { size, highWaterMark = 1 } = {}) {
     this._state = 'writable';
+
+    // The error that will be reported by new method calls once the state becomes errored. Only set when [[state]] is
+    // 'errored' or [[pendingError]] is true. May be set to an undefined value.

Fixed.

-- 
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/pull/721#discussion_r109143638

Received on Friday, 31 March 2017 11:52:11 UTC