EventStore.PubSub.subscribe
You're seeing just the function
subscribe
, go back to EventStore.PubSub module for more information.
Specs
subscribe(EventStore.t(), binary(), selector: (EventStore.RecordedEvent.t() -> any()), mapper: (EventStore.RecordedEvent.t() -> any()) ) :: :ok | {:error, term()}
Subscribes the caller to the given topic.