[whatwg/streams] Why are [[writeRequests]] and [[queue]] separate? (#589)

Unlike [[readRequests]], they're both on the WritableStreamDefaultController object, and also unlike [[readRequests]], chunks and write requests both come from the same direction and arrive at the same time, so there's always a 1:1 correspondence. Is there any reason to have two parallel queues besides symmetry with ReadableStream? Will it be useful for writable byte streams somehow?

I didn't see an explanation in https://github.com/whatwg/streams/pull/488#r72936794

-- 
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/589

Received on Wednesday, 2 November 2016 21:23:40 UTC