EventStore v0.15.1 EventStore.Registration.DistributedRegistry View Source
Pub/sub using a local registry and broadcasting messages to all connected nodes.
Link to this section Summary
Functions
Broadcasts message on given topic
Return an optional supervisor spec for the registry
Subscribes the caller to the given topic
Link to this section Functions
Broadcasts message on given topic.
Return an optional supervisor spec for the registry.
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.