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

[RFC] Remove removeStream() method, use removeReadStream/removeWriteStream instead #118

Merged
merged 1 commit into from
Nov 10, 2017

Conversation

clue
Copy link
Member

@clue clue commented Nov 10, 2017

The removeStream() acts as a shortcut to essentially call both removeReadStream() and removeWriteStream() in one go. It's unclear how much value this method actually provides and it looks like this has attracted some low quality code in the past. As such, I'm filing this PR as an RFC to see if it makes sense to drop this unneeded method.

Refs #110

@clue clue added this to the v0.5.0 milestone Nov 10, 2017
@cboden cboden self-requested a review November 10, 2017 15:45
@cboden
Copy link
Member

cboden commented Nov 10, 2017

Seems logical. reactphp/stream and reactphp/zmq will require updating.

Copy link
Member

@jsor jsor left a comment

Choose a reason for hiding this comment

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

👍

@clue
Copy link
Member Author

clue commented Nov 10, 2017

Seems logical. reactphp/stream and reactphp/zmq will require updating.

Yep, here's the first PR reactphp/stream#121 :shipit:

Copy link
Member

@WyriHaximus WyriHaximus left a comment

Choose a reason for hiding this comment

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

:shipit:

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.

4 participants