View Source TripSwitch (TripSwitch v0.1.1)
Documentation for TripSwitch
.
Link to this section Summary
Functions
Returns a specification to start this module under a supervisor.
Link to this section Functions
@spec child_spec(keyword()) :: Supervisor.child_spec()
Returns a specification to start this module under a supervisor.
See Supervisor
.
@spec get(atom()) :: TripSwitch.Circuit.t()
@spec reset(atom()) :: :ok
@spec send(atom(), TripSwitch.Circuit.signal()) :: {:ok, term()} | :broken
@spec start_link(keyword()) :: GenServer.on_start()