Skip to main content

is_running

Function is_running 

Source
fn is_running(state: Arc<AppState>) -> bool
Expand description

Check if the node is in the Running state.

Returns true only when HoprState::Running. Returns false for all other states (Uninitialized, Initializing, Indexing, Starting).