EventStore v0.15.1 EventStore.Registration.LocalRegistry View Source
Pub/sub using Elixir’s local Registry
module, restricted to running on a
single node only.
Link to this section Summary
Functions
Broadcasts message on given topic
Return the local supervisor child spec
Subscribes the caller to the given topic
Link to this section Functions
Broadcasts message on given topic.
Return the local supervisor child spec.
Link to this function
subscribe(topic, opts)
View Source
subscribe(binary(), selector: (EventStore.RecordedEvent.t() -> any()), mapper: (EventStore.RecordedEvent.t() -> any()) ) :: :ok | {:error, term()}
Subscribes the caller to the given topic.