PubSubx

PubSubx is a lightweight and flexible publish-subscribe (PubSub) library built on top of Elixir's GenServer and Registry. It allows processes to communicate by subscribing to topics and receiving messages when they are published. This is useful for decoupling components in your Elixir applications, enabling easier scalability and maintainability.

Features

Installation

If available in Hex, the package can be installed by adding pub_subx to your list of dependencies in mix.exs:

def deps do
  [
    {:pub_subx, "~> 0.2.0"}
  ]
end

Usage

The docs can be found at https://hexdocs.pm/pub_subx.