(ctx context.Context)
| 456 | } |
| 457 | |
| 458 | func (conn *WslConn) Reconnect(ctx context.Context) error { |
| 459 | err := conn.Close() |
| 460 | if err != nil { |
| 461 | return err |
| 462 | } |
| 463 | return conn.Connect(ctx) |
| 464 | } |
| 465 | |
| 466 | func (conn *WslConn) WaitForConnect(ctx context.Context) error { |
| 467 | for { |