Skip to main content

TaskFn

Type Alias TaskFn 

Source
pub type TaskFn<S> = Arc<dyn Fn(&mut NodeContext<'_, S>) -> Result<(), GraphError> + Send + Sync>;
Expand description

Task 节点回调类型别名(向后兼容 NodeContext)。

Aliased Type§

pub struct TaskFn<S> { /* private fields */ }