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

Since all Client_session::async_connect() (x3) and Native_socket_stream::async_connect() are, locally, instant, turned them into synchronous, non-blocking sync_connect()s. #77

Merged
merged 14 commits into from
Feb 29, 2024

Conversation

ygoldfeld
Copy link
Contributor

No description provided.

…to make a hookier, simpler intro to Flow-IPC: Client_session::async_connect() and (at a lower level) Native_socket_stream::async_connect() are unnecessary complications as public APIs given the local-IPC setting. Instead created and exposed a simple synchronous non-blocking sync_connect() in both places and made all necessary changes downstream of that. However added comments explaining what to do in the future if/when we network-enable this stuff: async_connect() would then be resurrected, while sync_connect() will be potentially blocking -- but only for the networked context.
@ygoldfeld ygoldfeld merged commit ce1a492 into main Feb 29, 2024
44 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant