Permalink
Switch branches/tags
Nothing to show
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
17 lines (13 sloc) 345 Bytes
defmodule Acquirex.Space.Supervisor do
use Supervisor
def start_link() do
Supervisor.start_link(__MODULE__, :no_args, name: __MODULE__)
end
def init(:no_args) do
children =
for t <- Acquirex.Tiles.extended_all do
worker(Acquirex.Space, [t], id: t)
end
supervise(children, strategy: :one_for_one)
end
end