Tradehub.Stream.unsubscribe

You're seeing just the function unsubscribe, go back to Tradehub.Stream module for more information.

Specs

unsubscribe(topic :: String.t()) :: :ok | {:error, reason :: any()}

The utility function to unsubscribe an available channel

Examples

iex> Tradehub.Stream.unsubscribe("market_stats")