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

Add piping helpers for other specs #1113

Merged
merged 2 commits into from
Apr 5, 2021
Merged

Add piping helpers for other specs #1113

merged 2 commits into from
Apr 5, 2021

Conversation

domenic
Copy link
Member

@domenic domenic commented Mar 19, 2021

@domenic domenic requested a review from ricea March 19, 2021 17:52
@ricea
Copy link
Collaborator

ricea commented Apr 5, 2021

Woah, I totally missed this. Sorry.

Copy link
Collaborator

@ricea ricea left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm with nits.

index.bs Outdated

<div algorithm="ReadableStream pipe through">
The result of a {{ReadableStream}} |readable| <dfn export for="ReadableStream" lt="pipe
through|piping through">piped through</dfn> a {{TransformStream}} |transform|, given an optional
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Question: do we want to require a {{TransformStream}}, or would the [=transform stream=] concept be sufficient here?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The latter would require doing JavaScript-observable Get()s, which introduces the possibility of sync exceptions. I think we should leave it as just TransformStream for now unless some spec comes along that needs the generic concept.

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That's reasonable.

@domenic
Copy link
Member Author

domenic commented Apr 5, 2021

Given that you found several good nits last round and I just got my eyes dilated so can barely see what I'm typing, I'd appreciate another once-over from you before merging :)

@ricea
Copy link
Collaborator

ricea commented Apr 5, 2021

I took another look. Still lgtm!

@domenic domenic merged commit cc29ed3 into main Apr 5, 2021
@domenic domenic deleted the pipe-to-through-helpers branch April 5, 2021 21:34
@domenic domenic added the other spec interface How the Streams spec interfaces with other specifications label Aug 27, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
other spec interface How the Streams spec interfaces with other specifications
Development

Successfully merging this pull request may close these issues.

2 participants