Skip to main content

SendSelector

Type Alias SendSelector 

Source
pub type SendSelector<S> = Arc<dyn Fn(&S) -> Vec<(String, S)> + Send + Sync>;
Expand description

Closure returning the parallel branches a send edge dispatches. Each pair is (target_node_name, branch_state); target nodes run concurrently with their respective branch states.

Aliased Type§

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