Skip to main content

wait_owned

Function wait_owned 

Source
pub async fn wait_owned<F, Fut>(
    child: Box<dyn ChildProcess>,
    endpoint: &str,
    executable: &str,
    probe: &dyn ProcessProbe,
    cancel: &CancellationToken,
    ready: F,
) -> Result<Listener, String>
where F: FnOnce() -> Fut, Fut: Future<Output = Result<(), String>>,