Re: [whatwg/streams] Make underlying sink writes abortable (#1015)

Currently in Chrome SendStream's `close()` doesn't wait for anything, It appears the standard doesn't yet say what should happen, but it's possible we will wait for the data pipe to be empty before resolving the promise. In which case, being able to throw away that data would be useful.

In the general case, when `close()` is a non-atomic, it would be useful for it to be abortable.

-- 
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/1015#issuecomment-838942785

Received on Tuesday, 11 May 2021 18:17:55 UTC