use_action

Function use_action 

Source
pub fn use_action<E, C, M>(user_fn: C) -> Action<C::Input, C::Output>
where E: Into<CapturedError> + 'static, C: ActionCallback<M, E> + 'static, M: 'static, C::Input: 'static, C::Output: 'static,