Skip to main content

NodeFn

Type Alias NodeFn 

Source
pub type NodeFn = Box<dyn Fn(WorkflowContext) -> Pin<Box<dyn Future<Output = Result<Value>> + Send>> + Send + Sync>;
Expand description

A boxed async function that a workflow node executes.

Aliased Type§

pub struct NodeFn(/* private fields */);