8000 Add tests for double watchers to be ignored by kelunik · Pull Request #86 · reactphp/event-loop · GitHub
[go: up one dir, main page]

Skip to content

Add tests for double watchers to be ignored #86

New issue

Have a question about this project? 8000 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 2 commits into from
Mar 26, 2017

Conversation

kelunik
Copy link
Contributor
@kelunik kelunik commented Mar 25, 2017

This tests the current behavior. I think the behavior should be changed to throw an exception instead of silently ignoring those callables or just call both callables.

Copy link
Member
@clue clue left a comment

Choose a reason for hiding this comment

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

The changes LGTM :shipit:

I agree that it makes sense to rethink this for the upcoming v0.5.0. Do you feel like filing a PR for the master branch that throws Exceptions instead? 👍

@clue clue added the bug label Mar 25, 2017
@clue clue added this to the v0.4.3 milestone Mar 25, 2017
@kelunik
Copy link
Contributor Author
kelunik commented Mar 25, 2017

@clue Not sure whether it should be an exception or just call all callbacks.

@clue
Copy link
Member
clue commented Mar 25, 2017

@kelunik Both would be valid options IMHO. Do you feel like filing an issue or preparing a PR so we can discuss this and its implications? 👍

@kelunik
Copy link
Contributor Author
kelunik commented Mar 25, 2017

Done via #87.

@jsor jsor merged commit 1d1773b into reactphp:0.4 Mar 26, 2017
@kelunik kelunik deleted the io-watcher-replacements branch March 26, 2017 09:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants
0