View Source Exshome.PubSub (Exshome - Elixir Smart Home v0.1.7)

This module is responsible for broadcasting data inside application.

Link to this section Summary

Link to this section Functions

Link to this function

broadcast(topic, message)

View Source
@spec broadcast(topic :: String.t(), message :: any()) :: :ok
@spec subscribe(String.t()) :: :ok

See ExshomeTest.Hooks.PubSub.topic_name/1.

@spec unsubscribe(String.t()) :: :ok