pub async fn wait_for_addresses<T, F>(
    interfaces_state: &StateProxy,
    id: u64,
    predicate: F
) -> Result<T>
where F: FnMut(&[Address]) -> Option<T>,
Expand description

Wait until the given interface has a set of assigned addresses that matches the given predicate.