The Wayback Machine - https://web.archive.org/web/20201109121116/https://github.com/async-interop/event-loop/pull/91
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

Allow disabling of invalid watchers #91

Merged
merged 1 commit into from Aug 30, 2016
Merged

Conversation

@bwoebi
Copy link
Member

@bwoebi bwoebi commented Aug 25, 2016

Fixes #90.

Following no dissent in the related issue, this should be merged in a few days if nobody else objects.

@@ -134,13 +134,12 @@
abstract public function enable($watcherId);

/**
* Disable a watcher. Disabling a watcher MUST NOT invalidate the watcher.
* Disable a watcher. Disabling a watcher MUST NOT invalidate the watcher. Calling this function MUST never fail,

This comment has been minimized.

@kelunik

kelunik Aug 26, 2016
Member

MUST neverMUST NOT

This comment has been minimized.

@bwoebi

bwoebi Aug 26, 2016
Author Member

I've copied from cancel() docs.

This comment has been minimized.

@kelunik

kelunik Aug 26, 2016
Member

Should probably fixed there as well. Otherwise you might miss the never since only MUST is bold.

@@ -134,13 +134,12 @@
abstract public function enable($watcherId);

/**
* Disable a watcher. Disabling a watcher MUST NOT invalidate the watcher.
* Disable a watcher. Disabling a watcher MUST NOT invalidate the watcher. Calling this function MUST never fail,
* even when passed an invalid watcher.

This comment has been minimized.

@kelunik

kelunik Aug 26, 2016
Member

I guess this should be if, not when.

@bwoebi bwoebi force-pushed the disabling_invalid_watcher branch from 229d2f3 to b3fdfa4 Aug 30, 2016
@trowski trowski merged commit 9ab9e6a into master Aug 30, 2016
2 checks passed
2 checks passed
continuous-integration/travis-ci/pr The Travis CI build passed
Details
continuous-integration/travis-ci/push The Travis CI build passed
Details
@bwoebi bwoebi deleted the disabling_invalid_watcher branch Dec 29, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked issues

Successfully merging this pull request may close these issues.

None yet

3 participants
You can’t perform that action at this time.