CloseClient forcibly closes the underlying coordinator client connection without sending a graceful Disconnect message. Use this when you need to tear down the connection immediately, for example after a send error.
()
| 232 | // without sending a graceful Disconnect message. Use this when you need to |
| 233 | // tear down the connection immediately, for example after a send error. |
| 234 | func (c *BasicCoordination) CloseClient() error { |
| 235 | return c.client.Close() |
| 236 | } |
| 237 | |
| 238 | // SendRequest sends a coordinate request on the client connection, holding |
| 239 | // the coordination lock to prevent concurrent writes on the dRPC stream. |
no test coverage detected