/// Wait until pkg-resolver inspect state satisfies `desired_state`.
Wait until pkg-resolver inspect state satisfies `desired_state`.
Wait until pkg - resolver inspect state satisfies ` desired_state ` .
pub async fn wait_for_pkg_resolver_inspect_state(&self, desired_state: TreeAssertion<String>) {
        while desired_state.run(&self.pkg_resolver_inspect_hierarchy().await).is_err() {
            fasync::Timer::new(Duration::from_millis(10)).await;
        }
    }
pub async fn wait_for_pkg_resolver_inspect_state ( & self , desired_state : TreeAssertion < String > ) { while desired_state . run ( & self . pkg_resolver_inspect_hierarchy ( ) . await ) . is_err ( ) { fasync :: Timer :: new ( Duration :: from_millis ( 10 ) ) . await ; } }
Wait until pkg-resolver inspect state satisfies `desired_state`.
Wait until pkg - resolver inspect state satisfies ` desired_state ` .
&self
desired_state
TreeAssertion<String>