clean up docs

This commit is contained in:
connor rigby 2017-10-24 05:38:14 -07:00
parent d5ac873245
commit ef9368818c
3 changed files with 9 additions and 3 deletions

View file

@ -1,4 +1,6 @@
defmodule Farmbot.BotState do
@moduledoc "JSON Serializable state tree that gets pushed over variour transports."
use GenStage
require Logger
@version Mix.Project.config()[:version]
@ -25,8 +27,11 @@ defmodule Farmbot.BotState do
end
def init([]) do
{:producer_consumer, struct(__MODULE__), subscribe_to: [Farmbot.Firmware],
dispatcher: GenStage.BroadcastDispatcher}
{
:producer_consumer,
struct(__MODULE__),
subscribe_to: [Farmbot.Firmware], dispatcher: GenStage.BroadcastDispatcher
}
end
def handle_events(events, _from, state) do

View file

@ -1,4 +1,5 @@
defmodule Farmbot.BotState.Supervisor do
@moduledoc false
use Supervisor
def start_link(token, opts) do

View file

@ -1,5 +1,5 @@
defmodule Farmbot.BotState.Transport.Supervisor do
@moduledoc ""
@moduledoc false
use Supervisor