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

WIP: handle no response for broadcast #65

Closed
wants to merge 2 commits into from

Conversation

cbarber
Copy link

@cbarber cbarber commented Sep 24, 2020

Sending a broadcast command should result in a None response instead of panicking. This switches Result<Response> to Result<Option<Response>> to handle this edge case.

I'm looking for feedback on this approach. Another approach could be splitting call into call_with_response and call_without_response to push the choice of broadcast/non-broadcast farther up to the client

@flosse flosse marked this pull request as draft November 11, 2022 14:02
@uklotzde
Copy link
Member

uklotzde commented Mar 4, 2023

Fixed by #141.

@uklotzde uklotzde closed this Mar 4, 2023
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.

None yet

2 participants