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

Contains all event-related features.

Link to this section Summary

Link to this section Types

@type event_message() :: struct() | atom()
@type event_module() :: atom()

Link to this section Functions

@spec broadcast(event_message()) :: :ok
@spec subscribe(event_module()) :: :ok
Link to this function

unsubscribe(event_module)

View Source
@spec unsubscribe(event_module()) :: :ok