Pub/sub events for registrations
Open
enhancement
question
- Dominant language
- Elixir
- Stars
- 1.3k
- Forks
- 110
- PR merge metrics
- No merged PRs in 30d
Description
Is it in any way possible to "subscribe" to a Swarm registered process? Similar to Gprocs [gproc_monitor:subscribe](https://github.com/uwiger/gproc/blob/master/doc/gproc_monitor.md).
I want a process to be notified when a name becomes registered / unregistered (crash or shutdown). I can do this by looking up the Swarm name and then using `Process.monitor` on the PID, and keeping track of pid <-> name relation until it crashes, but that's a lot extra (and fragile) work.
Are there any plans of adding such a feature?
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.