Skip to content

CompositeStream forwards pause to pipe source on first write attempt #96

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

Merged
merged 1 commit into from
May 2, 2017

Conversation

clue
Copy link
Member

@clue clue commented May 2, 2017

Remove inconsistent and unneeded forwarding of calls to pause() and resume() to the source stream for CompositeStream. This is actually entirely unneeded as the source stream will be paused automatically once it tries writing data to a paused stream anyway. This is now consistent with how literally all other streams work.

I do not consider this to be a bug fix, a new feature nor a BC break. This undocumented forwarding is plain unneeded. Prior to #88 this would also have affected the ThroughStream, so it makes sense to address this as part of the same release.

@clue clue added the easy pick label May 2, 2017
@clue clue added this to the v0.7.0 milestone May 2, 2017
@WyriHaximus WyriHaximus merged commit 337e14b into reactphp:master May 2, 2017
@clue clue deleted the pipe branch May 3, 2017 06:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy