Skip to main content

machine

Function machine 

Source
pub fn machine<M>() -> impl Machine<M>
where M: Fsm + 'static, Effects<M>: Drain + Default, Out<M>: Send + Clone, Event<M>: Send + Sync + Clone,
Expand description

Create new machine for an Fsm of type M