Skip to content

subscription response #293

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

Open
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

kaiyuan-li
Copy link
Contributor

Summary:
This diff enhanced the Subscribe and Unsubscribe messages with a returned result. Indicating if the operation is successful or not.
Two cases will return error for now

  1. subscribing a already subscribed client
  2. unsubscribing a non-existing client

In order to get the return message, we have to add the client address to the address book. That's why a new message Join is added. Similar to the old SystemActor (https://fburl.com/code/tl74i2sn).

Differential Revision: D76838123

Differential Revision: D76821366
Differential Revision: D76822966
Summary:
This diff enhanced the `Subscribe` and `Unsubscribe` messages with a returned result. Indicating if the operation is successful or not.
Two cases will return error for now
1. subscribing a already subscribed client
2. unsubscribing a non-existing client

In order to get the return message, we have to add the client address to the address book. That's why a new message `Join` is added. Similar to the old `SystemActor` (https://fburl.com/code/tl74i2sn).

Differential Revision: D76838123
@facebook-github-bot facebook-github-bot added CLA Signed This label is managed by the Meta Open Source bot. fb-exported labels Jun 17, 2025
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D76838123

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CLA Signed This label is managed by the Meta Open Source bot. fb-exported
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants