with_state

Function with_state 

Source
pub fn with_state<T, S, R>(state: S, reactor: R) -> WithState<R, S>
where R: Reactor<T, S>,