slawlor / ractor

Rust actor framework
MIT License
1.3k stars 66 forks source link

Subscriber-Driven OutputPort Subscriptions #222

Closed dcadenas closed 2 months ago

dcadenas commented 3 months ago

Is your feature request related to a problem? Please describe. This is an issue that follows the discussion in https://github.com/slawlor/ractor/discussions/221 to ease the usage of OutputPort for publish/subscribe actors with the aim of loosening the coupling between the publisher actor from the subscriber so that the publisher doesn't need to know about the types it publishes to.

Describe the solution you'd like I added a proposal in https://github.com/slawlor/ractor/discussions/221 and a PR is coming to better describe it.

Describe alternatives you've considered The alternative right now is that the publisher manually maps to the subscribers.