Function state_unit::run_unit
source ยท pub async fn run_unit<T: StateUnit>(unit: T, recv: Receiver<StateRequest>) -> T
Expand description
Runs a simple unit that only needs to respond to state requests.
pub async fn run_unit<T: StateUnit>(unit: T, recv: Receiver<StateRequest>) -> T
Runs a simple unit that only needs to respond to state requests.