Skip to main content

synthesize_policy

Function synthesize_policy 

Source
pub fn synthesize_policy(
    nodes: Vec<NodeConfig>,
    on_error: OnError,
) -> Result<PolicyConfig, String>
Expand description

Synthesises a runnable policy from an ad-hoc node list.

Prepends listener, appends client, and chains the user’s nodes through their success ports.