pub async fn run_async_unit<T>(unit: T, recv: Receiver<StateRequest>) -> T
Expand description
Runs a state unit that can handle inspect requests while there is an active state transition.
pub async fn run_async_unit<T>(unit: T, recv: Receiver<StateRequest>) -> T
Runs a state unit that can handle inspect requests while there is an active state transition.