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

examples: use SocketListener::accept_future instead of SocketService #137

Merged
merged 1 commit into from
Jul 8, 2024

Commits on Jul 7, 2024

  1. examples: use SocketListener::accept_future instead of SocketService

    `SocketService` wraps `SocketListener` to accept connections asynchronously and
    pass them along in the callback.
    
    This is unnecessary in an async world as we have `SocketListener::accept_future`
    which allows us to accept connections asynchronously in a loop.
    carlosmn committed Jul 7, 2024
    Configuration menu
    Copy the full SHA
    cd3d52d View commit details
    Browse the repository at this point in the history