Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Define generic operation for GetDesiredSize? #745

Closed
rombel opened this issue May 17, 2017 · 2 comments
Closed

Define generic operation for GetDesiredSize? #745

rombel opened this issue May 17, 2017 · 2 comments
Labels
editorial Changes that do not affect how the standard is understood. potential simplification

Comments

@rombel
Copy link

rombel commented May 17, 2017

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?

@ricea ricea added editorial Changes that do not affect how the standard is understood. potential simplification labels Aug 17, 2017
@domenic
Copy link
Member

domenic commented Dec 13, 2023

Now that we're linking the internal slots, this seems less good.

@domenic domenic closed this as completed Dec 13, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
editorial Changes that do not affect how the standard is understood. potential simplification
Development

No branches or pull requests

4 participants