Pi.Eval.Supervisor (pi_bridge v0.6.22)

Copy Markdown View Source

Dynamic supervisor for stateful eval session evaluators.

Summary

Functions

Returns a specification to start this module under a supervisor.

Functions

child_spec(arg)

Returns a specification to start this module under a supervisor.

See Supervisor.

evaluator(session_id, opts \\ [])

@spec evaluator(
  String.t(),
  keyword()
) :: {:ok, pid()} | {:error, term()}

install()

@spec install() :: :ok | {:ok, pid()} | {:error, term()}

start_link(opts \\ [])

@spec start_link(keyword()) :: GenServer.on_start()