pub async fn wait_tcp_ready(
addr: &str,
) -> Result<(), Box<dyn Error + Send + Sync>>Expand description
Wait until addr (host:port) accepts a TCP connection.
Useful to probe for readiness of services that don’t expose an http/ws
endpoint we can OPTIONS (e.g JAM nodes).