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

Function GetWslConn

pkg/wslconn/wslconn.go:751–754  ·  view source on GitHub ↗
(name string)

Source from the content-addressed store, hash-verified

749}
750
751func GetWslConn(name string) *WslConn {
752 conn := getConnInternal(name)
753 return conn
754}
755
756// Convenience function for ensuring a connection is established
757func EnsureConnection(ctx context.Context, connName string) error {

Callers 7

ConnDisconnectCommandMethod · 0.92
ConnConnectCommandMethod · 0.92
DismissWshFailCommandMethod · 0.92
getConnUnionMethod · 0.92
CheckConnStatusFunction · 0.92
EnsureConnectionFunction · 0.85

Calls 1

getConnInternalFunction · 0.70

Tested by

no test coverage detected