-
Notifications
You must be signed in to change notification settings - Fork 0
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
Sync
session
#11
Comments
Design 1In This allows only one party to begin sending immediately through This is insufficient for our needs but still interesting. |
Design 2
The implementation details are the most interesting part.
|
Design 2: Take 2
The core principle is that you can select either protocol and immediately act through it if we're expected to
Remaining concerns
|
In some kinds of protocols (for example, relay networks) it may make sense for both sides of the transmission to be capable of sending to the other side. However, in our library it is only possible for one side to send to the other at any given time.
We either need a new session type that allows both sides to send a message at the same time, or a rethink of the design to perhaps anticipate two channels.
The text was updated successfully, but these errors were encountered: