Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Remove internal counter from dealer socket #16

Merged
merged 3 commits into from
May 22, 2023

Conversation

RoboDoig
Copy link
Collaborator

@RoboDoig RoboDoig commented May 18, 2023

This PR is in relation to issue #15 and addresses it by removing the internal counter from Dealers entirely.

A Dealer socket is expected to be used as a fully asynchronous channel between client and server, and either of them can send arbitrary message streams to each other, without any constraints on pairing requests to responses (in a way there is no concept of "request" or "response" in a dealer, only messages).

The client-server article in the updated docs provides an example of such a flexible use which depends on this change.

@glopesdev glopesdev changed the title Refactor dealer Remove internal counter from dealer socket May 22, 2023
@glopesdev glopesdev added the fix Pull request that fixes an issue label May 22, 2023
@glopesdev glopesdev merged commit 8828126 into bonsai-rx:main May 22, 2023
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
fix Pull request that fixes an issue
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants