Function state_unit::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.