Crate scouter_state

Crate scouter_state 

Source

Re-exports§

pub use error::StateError;

Modules§

error

Structs§

ScouterState
Manages the application’s global Tokio runtime.

Functions§

app_state
Global accessor for the application state, ensuring the runtime is initialized once.
block_on
A safe utility function to block on an async future using the global multi-threaded runtime.