- From: Takeshi Yoshino <notifications@github.com>
- Date: Fri, 20 Jan 2017 02:12:03 -0800
- To: whatwg/streams <streams@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Friday, 20 January 2017 10:12:34 UTC
tyoshino commented on this pull request.
> + const ws = new WritableStream({
+ close() {
+ return Promise.reject();
+ }
+ });
+
+ // Wait until the WritableStream starts so that the close() call gets processed.
+ return delay(0).then(() => {
+ const writer = ws.getWriter();
+
+ const closePromise = writer.close();
+ const abortPromise = writer.abort();
+
+ const events = [];
+ return Promise.all([
+ closePromise.then(() => {
OK. Did you mean that I should redo rejection expecting ones e.g. at L259 as your example? Just to make sure.
--
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/655
Received on Friday, 20 January 2017 10:12:34 UTC