AwaitReachable waits for the agent to be reachable.
(ctx context.Context)
| 168 | |
| 169 | // AwaitReachable waits for the agent to be reachable. |
| 170 | func (c *agentConn) AwaitReachable(ctx context.Context) bool { |
| 171 | ctx, span := tracing.StartSpan(ctx) |
| 172 | defer span.End() |
| 173 | |
| 174 | return c.Conn.AwaitReachable(ctx, c.agentAddress()) |
| 175 | } |
| 176 | |
| 177 | // Ping pings the agent and returns the round-trip time. |
| 178 | // The bool returns true if the ping was made P2P. |
no test coverage detected