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

feat(callipe): add request/response protocol utils #34

Merged
merged 7 commits into from
Nov 24, 2023
Merged

Conversation

hawkw
Copy link
Contributor

@hawkw hawkw commented Nov 23, 2023

Depends on #35

This branch adds a quick initial implementation of utilities for implementing a request-response protocol where multiple requests can be in flight on one connection at the same time. Request/response pairs are correlated using sequence numbers, and a client wrapper that automatically dispatches responses to the appropriate request future is included.

Closes #25

@hawkw hawkw changed the title Eliza/req rsp feat(callipe): add request/response protocol utils Nov 23, 2023
@hawkw hawkw changed the base branch from main to eliza/fix-stuck-mpsc November 23, 2023 20:06
@hawkw hawkw marked this pull request as draft November 23, 2023 20:07
Base automatically changed from eliza/fix-stuck-mpsc to main November 23, 2023 20:45
@hawkw hawkw marked this pull request as ready for review November 23, 2023 20:49
@hawkw hawkw requested a review from jamesmunns November 23, 2023 20:49
@hawkw hawkw merged commit 39cc397 into main Nov 24, 2023
8 checks passed
@hawkw hawkw deleted the eliza/req-rsp branch November 24, 2023 17:50
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.

design for request-response protocols
1 participant