View Source Jido.Supervisor (Jido v1.0.0)

A helper supervisor that starts and manages the resources for a specific Jido instance.

Each consumer of Jido defines their own module:

defmodule MyApp.Jido do
  use Jido, otp_app: :my_app
end

Then in your application’s supervision tree:

children = [
  MyApp.Jido
]

Supervisor.start_link(children, strategy: :one_for_one)

Summary

Functions

Returns a specification to start this module under a supervisor.

Functions

child_spec(init_arg)

Returns a specification to start this module under a supervisor.

See Supervisor.

start_link(jido_module, config)

@spec start_link(
  module(),
  keyword()
) :: Supervisor.on_start()