Skip to main content

console_already_running

Function console_already_running 

Source
pub async fn console_already_running(port: u16) -> bool
Expand description

Probe /healthz on the loopback interface for port. Returns true when an existing Sparrow console already answers there, so the caller can refuse to start a duplicate instead of dying with a raw OS “address in use” error.