- From: Kagami Sascha Rosylight <notifications@github.com>
- Date: Wed, 12 Apr 2017 02:41:49 -0700
- To: whatwg/streams <streams@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Wednesday, 12 April 2017 09:42:26 UTC
Oh, I thought that 4.2.3 and 4.8.9 says it returns Promise or undefined. >write(chunk, controller) is called when a new chunk of data is ready to be written to the underlying sink. It can return a promise to signal success or failure of the write operation. >Let sinkWritePromise be ! PromiseInvokeOrNoop(controller.[[underlyingSink]], "write", « chunk, controller »). >PromiseInvokeOrNoop is a specialized version of promise-calling that both works on methods and returns a promise for undefined when the method is not present. -- 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/45#issuecomment-293526593
Received on Wednesday, 12 April 2017 09:42:26 UTC