Spear.Client.subscribe
You're seeing just the callback
subscribe
, go back to Spear.Client module for more information.
Specs
subscribe( subscriber :: pid() | GenServer.name(), stream_name :: String.t() | :all ) :: {:ok, reference()} | {:error, any()}
A wrapper around Spear.subscribe/3
Specs
subscribe( subscriber :: pid() | GenServer.name(), stream_name :: String.t() | :all, opts :: Keyword.t() ) :: {:ok, reference()} | {:error, any()}
A wrapper around Spear.subscribe/4