Skip to main content

simple_node

Function simple_node 

Source
pub fn simple_node<S, F, Fut>(f: F) -> impl Node<S>
where S: State, F: Fn(S) -> Fut + Send + Sync + 'static, Fut: Future<Output = Result<S>> + Send + 'static,
Expand description

Helper to create a node that doesn’t use config