pub fn node_fn<S, F, Fut>(f: F) -> impl Node<S>where S: State, F: Fn(S, &Config) -> Fut + Send + Sync + 'static, Fut: Future<Output = Result<S>> + Send + 'static,
Helper to create a simple node from an async function