Expand description
Task event bus — broadcast channel for status transitions.
Structs§
- Control
Message - A control message sent by the server to the websocket client for out-of-band notifications such as lag warnings.
- Event
Bus - The event bus — wraps a tokio broadcast channel.
- Event
Filter - Parsed query-parameter filters for a websocket connection.
- Task
Event - A task status transition event.
Functions§
- cleanup_
port_ file - Remove the ws.port file on shutdown.
- cleanup_
version_ file - Remove the service.version file on shutdown — only if this process owns it.
- select_
available_ listener - Find an available port in the ephemeral range (49152-65535). Starts from a deterministic offset based on hostname hash, then increments. This gives stable first-attempt ports across restarts on the same machine.