Skip to main content

cluster_dispatch_enabled

Function cluster_dispatch_enabled 

Source
pub fn cluster_dispatch_enabled(
    project: &ProjectConfig,
    chain: &[Option<bool>],
) -> bool
Expand description

Whether the leaf command’s effective cluster: value resolves to true AND a cluster: topology is declared at the project root.

Without a project-root cluster: block, multi-host dispatch is unavailable regardless of any per-command directives along the chain.