PayDayLoan.Supervisor (pay_day_loan v0.7.0)

Supervisor for PDL processes.

You can either start this manually or use PayDayLoan.supervisor_specification/1 to return a supervisor spec that can be passed into another supervisor's start_link call (recommended).

Link to this section Summary

Functions

Returns a specification to start this module under a supervisor.

Callback implementation for Supervisor.init/1.

Start in a supervision tree

Link to this section Functions

Link to this function

child_spec(init_arg)

Returns a specification to start this module under a supervisor.

See Supervisor.

@spec init([PayDayLoan.t()]) ::
  {:ok, {:supervisor.sup_flags(), [Supervisor.Spec.spec()]}}

Callback implementation for Supervisor.init/1.

Link to this function

start_link(pdl)

@spec start_link(PayDayLoan.t()) :: Supervisor.on_start()

Start in a supervision tree