spectator
Values
pub fn main() -> Nil
Entrypoint for running spectator from the command line. This will start the spectator application on port 3000 and never return.
pub fn start() -> Result(
actor.Started(static_supervisor.Supervisor),
actor.StartError,
)
Start the spectator application on port 3000
pub fn start_on(
port: Int,
) -> Result(
actor.Started(static_supervisor.Supervisor),
actor.StartError,
)
pub fn tag(pid: process.Pid, name: String) -> process.Pid
Tag a process given by PID with a name for easier identification in the spectator UI.
You must call start
before calling this function.
pub fn tag_result(
result: Result(process.Subject(a), b),
name: String,
) -> Result(process.Subject(a), b)
Tag a process given by subject result with a name for easier identification in the spectator UI.
You must call start
before calling this function.
pub fn tag_subject(
subject sub: process.Subject(a),
name name: String,
) -> process.Subject(a)
Tag a process given by subject with a name for easier identification in the spectator UI.
You must call start
before calling this function.