Pixir.Provider.ConnectionSupervisor (pixir v0.1.0)

Copy Markdown View Source

Dynamic supervisor for Provider WebSocket connections.

Connections are keyed by Session/Subagent/caller identity. They hold only ephemeral transport optimization state; Pixir's Log remains the durable source of truth.

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.

ensure_started(key)

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

start_link(opts \\ [])