MCPcopy
hub / github.com/wavetermdev/waveterm / Reconnect

Method Reconnect

pkg/wslconn/wslconn.go:458–464  ·  view source on GitHub ↗
(ctx context.Context)

Source from the content-addressed store, hash-verified

456}
457
458func (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
466func (conn *WslConn) WaitForConnect(ctx context.Context) error {
467 for {

Callers

nothing calls this directly

Calls 2

CloseMethod · 0.95
ConnectMethod · 0.95

Tested by

no test coverage detected