Skip to main content

connect_with_retry

Function connect_with_retry 

async fn connect_with_retry(
    client: &mut WindowsControlChannelClient,
    endpoint: &OsStr,
) -> bool
Expand description

Connect to the daemon control channel, retrying while the daemon binds it.

§Arguments

  • client - The control-channel client to connect.
  • endpoint - Named-pipe path of the daemon control channel.

§Returns

true once connected, false after about 30 seconds of failed attempts.