Skip to main content

read_stream_state

Function read_stream_state 

Source
pub fn read_stream_state() -> Value
Expand description

Read $WIRE_HOME/state/wire/stream_state.json written by the daemon’s SSE subscriber. Value::Null when the file is absent or unreadable — callers should treat that as “stream subscriber hasn’t reported in yet” (cold start, or daemon predates #168).