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

Add the event loop as required constructor argument #361

Merged
merged 1 commit into from
Jul 8, 2020
Merged

Add the event loop as required constructor argument #361

merged 1 commit into from
Jul 8, 2020

Conversation

WyriHaximus
Copy link
Member

For now we won't use it just yet. But this will prepare our API for
future features like keep alive connections, dead connection clean up
etc. Even though we won't use it in the next release, it will put it in
the API so we don't have to break it again when we add features that
require the event loop.

@WyriHaximus WyriHaximus added this to the v0.9.0 milestone Jun 24, 2020
@WyriHaximus WyriHaximus requested review from jsor and clue June 24, 2020 16:21
@clue clue modified the milestones: v0.9.0, v1.0.0 Jun 28, 2020
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.

Change makes a lot of sense for future updates (#39 and others) 👍

See below for minor remarks only.

src/Server.php Show resolved Hide resolved
src/Io/StreamingServer.php Show resolved Hide resolved
tests/FunctionalServerTest.php Outdated Show resolved Hide resolved
For now we won't use it just yet. But this will prepare our API for
future features like keep alive connections, dead connection clean up
etc. Even though we won't use it in the next release, it will put it in
the API so we don't have to break it again when we add features that
require the event loop.

As a result of this requirement the event loop has been added as a
dependency, and the socket and stream packages have been bumped to
their stable version.
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