Spear.Client.connect_to_persistent_subscription
You're seeing just the callback
connect_to_persistent_subscription
, go back to Spear.Client module for more information.
Link to this callback
connect_to_persistent_subscription(subscriber, stream_name, group_name)
View Source (since 0.6.0)Specs
connect_to_persistent_subscription( subscriber :: pid() | GenServer.name(), stream_name :: String.t(), group_name :: String.t() ) :: {:ok, reference()} | {:error, any()}
A wrapper around Spear.connect_to_persistent_subscription/4
Link to this callback
connect_to_persistent_subscription(subscriber, stream_name, group_name, opts)
View Source (since 0.6.0)Specs
connect_to_persistent_subscription( subscriber :: pid() | GenServer.name(), stream_name :: String.t(), group_name :: String.t(), opts :: Keyword.t() ) :: {:ok, reference()} | {:error, any()}
A wrapper around Spear.connect_to_persistent_subscription/5