View Source Exshome.Dependency behaviour (Exshome - Elixir Smart Home v0.1.7)
Contains all dependency-related features.
Link to this section Summary
Link to this section Types
Link to this section Callbacks
@callback get_value() :: value()
Link to this section Functions
@spec broadcast_value(dependency(), value()) :: :ok
@spec get_value(dependency()) :: value()
@spec subscribe(dependency()) :: value()
@spec unsubscribe(dependency()) :: :ok