Pi.Session.Worker (pi_bridge v0.6.22)

Copy Markdown View Source

Server-owned Pi session process with subscribers and LLM-backed runs.

Summary

Functions

append(pid, message)

cancel(pid)

child_spec(init_arg)

Returns a specification to start this module under a supervisor.

See Supervisor.

complete(pid, opts \\ [])

detach(pid, subscriber \\ self())

emit_event(pid, event)

id(pid)

rerun(pid, opts \\ [])

run(pid, prompt, opts \\ [])

snapshot(pid)

start_link(opts \\ [])

state(pid)

subscribe(pid, subscriber \\ self())