MCPcopy Index your code
hub / github.com/wavetermdev/waveterm / GetClient

Method GetClient

pkg/wps/wps.go:68–72  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

66}
67
68func (b *BrokerType) GetClient() Client {
69 b.Lock.Lock()
70 defer b.Lock.Unlock()
71 return b.Client
72}
73
74// if already subscribed, this will *resubscribe* with the new subscription (remove the old one, and replace with this one)
75func (b *BrokerType) Subscribe(subRouteId string, sub SubscriptionRequest) {

Callers 5

PublishMethod · 0.95
StartWslShellProcNoWshFunction · 0.45
StartWslShellProcFunction · 0.45
StartRemoteShellProcFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected