state_unit

Function run_async_unit

Source
pub async fn run_async_unit<T>(unit: T, recv: Receiver<StateRequest>) -> T
where for<'a> &'a T: StateUnit,
Expand description

Runs a state unit that can handle inspect requests while there is an active state transition.