Skip to main content

node_fn_named

Function node_fn_named 

Source
pub fn node_fn_named<S, F, Fut>(name: impl Into<String>, f: F) -> impl Node<S>
where S: GraphState, F: Fn(&S, &RunnableConfig) -> Fut + Send + Sync + 'static, Fut: Future<Output = Result<NodeOutput>> + Send + 'static,
Expand description

Create a named node from an async function.