Function try_wait_for_all_nodes_with_value

Source
pub async fn try_wait_for_all_nodes_with_value<T, I, F>(
    cluster: &mut Cluster,
    nodes_values: I,
    time: Duration,
    f: F,
) -> Result<bool, ClusterEvent>
where T: Eq, I: IntoIterator<Item = (RustNodeId, T)>, F: FnMut(RustNodeEvent) -> Option<T>,
Expand description

Tries to wait for particular event to happen at least once for all specified pairs of (node, v).

Function f extract value v from a Rust event.

See super::predicates::all_nodes_with_value.