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

Expand ActorGroup API #621

Merged
merged 9 commits into from
Mar 31, 2024
Merged

Expand ActorGroup API #621

merged 9 commits into from
Mar 31, 2024

Conversation

Thomasdezeeuw
Copy link
Owner

See individual commits.

Closes #567
Closes #565

Sends a message to one of the actors in the group.

Updates #567
Attempts to send a message to all actors in the group.

Updates  #567
And removes the Delivery enum as it's no longer used.

The method itself is split into ActorGroup::try_send_to_one and
try_send_to_all, which is easier to use and allows us to drop the Clone
requirement from try_send_to_one.

Closes #567
Future version of try_send_to_one.

Closes #565
@Thomasdezeeuw Thomasdezeeuw merged commit 51208cb into main Mar 31, 2024
17 checks passed
@Thomasdezeeuw Thomasdezeeuw deleted the actor-group branch March 31, 2024 17:42
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.

Split up ActorGroup::try_send Add ActorGroup::send_to_one
1 participant