# `EventBroker.Broker`

I am a Broker module.

I specify the behavior of the server acting as a central broker of the
PubSub service. My functionality is minimal. I wait for messages and
relay them to my subscribers.

# `t`

```elixir
@type t() :: %EventBroker.Broker{subscribers: MapSet.t(pid())}
```

I am the type of the Event Broker.

### Fields

- `:subscribers` - The set of pids showcasing subscribers.
                   Default: Map.Set.new()

# `child_spec`

Returns a specification to start this module under a supervisor.

See `Supervisor`.

# `start_link`

```elixir
@spec start_link(list()) :: GenServer.on_start()
```

---

*Consult [api-reference.md](api-reference.md) for complete listing*
