[whatwg/streams] Define generic operation for GetDesiredSize? (#745)

In current version of the spec, ReadableStreamDefaultControllerGetDesiredSize and ReadableByteStreamControllerGetDesiredSize describe exactly the same process (this is because queueTotalSize is now used for both controllers). Wouldn't it be possible to define a single ReadableStreamControllerGenericGetDesiredSize, similarly to what is done for some reader operations?

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

Received on Wednesday, 17 May 2017 15:10:23 UTC