View Source Agens.Supervisor (agens v0.1.1)
The Supervisor module for the Agens application.
Agens.Supervisor
starts a DynamicSupervisor
for managing Agens.Agent
, Agens.Serving
, and Agens.Job
processes. It also starts a Registry
for keeping track of these processes.
The Registry module can be overriden by your application config:
config :agens, registry: MyApp.Registry
In order to use Agens
simply add Agens.Supervisor
to your application supervision tree:
Supervisor.start_link(
[
{Agens.Supervisor, name: Agens.Supervisor}
],
strategy: :one_for_one
)
Summary
Functions
Returns a specification to start this module under a supervisor.
Functions
Returns a specification to start this module under a supervisor.
See Supervisor
.