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

Dereferencing/referencing of streams and timers #180

Closed
wants to merge 1 commit into from
Closed

Dereferencing/referencing of streams and timers #180

wants to merge 1 commit into from

Conversation

ghost
Copy link

@ghost ghost commented Jan 20, 2019

This PR implements dereferencing and referencing of streams and timers (closes #107).

Signals are deferenced by default and can not be referenced (there is no use case where we only have signal watchers and nothing else (that actively prevents #175), if anything like that is required for some unreal ancient communication cult, plain PHP can do the job too).

To avoid BC, a new loop interface was created which extends the loop interface, to allow implementing new methods. This interface should be removed for v2.0. The new interface trick was suggested by @WyriHaximus.

@WyriHaximus WyriHaximus added this to the v1.1.0 milestone Jan 20, 2019
@ghost ghost changed the title Implement deref of streams and timers in non-BC way Dereferencing/Referencing of streams and timers Jan 20, 2019
@ghost ghost changed the title Dereferencing/Referencing of streams and timers Dereferencing/referencing of streams and timers Jan 20, 2019
@WyriHaximus WyriHaximus modified the milestones: v1.1.0, v1.2.0 Feb 7, 2019
@ghost ghost closed this Feb 7, 2019
@clue clue removed this from the v1.2.0 milestone May 7, 2019
This pull request was closed.
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.

Support reference / unreference of watchers
2 participants