Kvasir AgentServer v0.0.11 Kvasir.AgentServer.AgentManager View Source

Documentation for Kvasir.AgentServer.AgentManager.

Link to this section Summary

Link to this section Functions

Link to this function

agent_child_spec(agent, warmup, parent)

View Source

Specs

agent_child_spec(
  %{agent: module(), id: any(), partition: String.t()},
  boolean(),
  pid()
) :: %{
  id: {any(), String.t()},
  modules: [module()],
  restart: :permanent,
  shutdown: :infinity,
  start: {DynamicSupervisor, :start_link, [term()]},
  type: :supervisor
}

Specs

child_spec(opts :: Keyword.t()) :: Supervisor.child_spec()

Documentation for Kvasir.AgentServer.AgentManager.

Specs

start_link(Keyword.t()) :: Supervisor.on_start()