TaskBunny v0.0.1-dev.5 TaskBunny.WorkerSupervisor

Worker supervisor for TaskBunny.

It supervises all Workers with one_for_one strategy.

It will receive all jobs that need workers when started and will start a worker for each job.

Summary

Types

jobs()
jobs() :: [{host :: atom, job :: atom, concurrenct :: integer}]

Functions

start_link(jobs)
start_link(jobs) :: {:ok, pid} | {:error, term}