-
Notifications
You must be signed in to change notification settings - Fork 98
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
Add streams
#990
Add streams
#990
Conversation
baseline: low | ||
baseline_low_date: 2023-03-27 | ||
support: | ||
chrome: "98" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Matching https://caniuse.com/streams fully here doesn't feel like an option, but I think we can decide which notes we consider for our "initial support" feature.
I would say that note 2 (Only basic read support) and 4 (No support for WritableStream
) do warrant partial implementation, because just reading or just writing means that streams is being used as part of some other feature, I can't see how it could be used standalone without at least write and write support.
BYOB support however I think we should consider not a part of the initial feature.
All in all, I'd expect these versions to fall out, assuming caniuse data is correct:
- Chrome 59
- Firefox 100
- Safari 14.1
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
OK, got it. We can't exactly match that with BCD (I suspect because caniuse doesn't note the missing WritableStream
interface in Safari before 14.5), but we can get pretty close. See the latest diff.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @ddbeck! Merged!
This is only partly finished. Questions abound:
api.WritableStreamDefaultController.signal
a distinct thing, like abortable fetch?