PubSubx is a simple publish-subscribe (PubSub) system built on top of Elixir's GenServer and Registry.
PubSubx
GenServer
Registry
Provides a macro to automatically generate common PubSubx functionality for a module, including function specifications.