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!: add support for remote actor links #116

Merged
merged 8 commits into from
Jan 16, 2025
Merged

feat!: add support for remote actor links #116

merged 8 commits into from
Jan 16, 2025

Conversation

tqwewe
Copy link
Owner

@tqwewe tqwewe commented Jan 14, 2025

Checklist:

  • Add linking from local to remote ActorRef::link_remote(&RemoteActorRef<B>)
  • Add linking from remote to remote RemoteActorRef::link(&RemoteActorRef<B>)
  • Add unlinking from local to remote ActorRef::unlink_remote(&RemoteActorRef<B>)
  • Add unlinking from remote to remote RemoteActorRef::unlink(&RemoteActorRef<B>)
  • Notify remote actors when an actor dies
  • Notify local actors when a peer connection is closed

@tqwewe tqwewe marked this pull request as draft January 14, 2025 18:20
@tqwewe tqwewe marked this pull request as ready for review January 16, 2025 13:57
@tqwewe tqwewe merged commit 2fc274b into main Jan 16, 2025
2 checks passed
@tqwewe tqwewe deleted the feat/remote-link branch January 16, 2025 14:00
hirschenberger pushed a commit to hirschenberger/kameo that referenced this pull request Jan 20, 2025
* feat!: add support for remote linking and signal_link_died events

* feat!: signal links died when peer id disconnected

* feat: add `unlink_remote` method to `ActorRef`

* feat: add `link_remote` and `unlink_remote` methods to `RemoteActorRef`

* docs: add codedocs and examples to remote linking types

* fix: feature flags compilation

* fix: missing tracing feature gate

* docs: fix RemoteActor derive example
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.

1 participant