pub type NodeFn = Box<dyn Fn(WorkflowContext) -> Pin<Box<dyn Future<Output = Result<Value>> + Send>> + Send + Sync>;
A boxed async function that a workflow node executes.
pub struct NodeFn(/* private fields */);