Current section
Files
Jump to
Current section
Files
lib/sensor.ex
defmodule Sensor do
@moduledoc """
This is an OTP application for managing physical sensors.
This is the main application supervisor
"""
use Application
@name SensorSupervisor
def start( _type, _args ) do
import Supervisor.Spec, warn: false
children = [ ]
opts = [ strategy: :one_for_one, name: @name ]
Supervisor.start_link( children, opts )
end
end