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

Method SendUpdateEvents

pkg/wps/wps.go:241–249  ·  view source on GitHub ↗
(updates waveobj.UpdatesRtnType)

Source from the content-addressed store, hash-verified

239}
240
241func (b *BrokerType) SendUpdateEvents(updates waveobj.UpdatesRtnType) {
242 for _, update := range updates {
243 b.Publish(WaveEvent{
244 Event: Event_WaveObjUpdate,
245 Scopes: []string{waveobj.MakeORef(update.OType, update.OID).String()},
246 Data: update,
247 })
248 }
249}
250
251func (b *BrokerType) getMatchingRouteIds(event WaveEvent) []string {
252 b.Lock.Lock()

Callers 9

CreateBlockCommandMethod · 0.80
DeleteBlockCommandMethod · 0.80
SwitchWorkspaceMethod · 0.80
UpdateWorkspaceMethod · 0.80
DeleteWorkspaceMethod · 0.80
CreateTabMethod · 0.80
SetActiveTabMethod · 0.80
CloseTabMethod · 0.80
setTermSizeInDBFunction · 0.80

Calls 3

PublishMethod · 0.95
MakeORefFunction · 0.92
StringMethod · 0.45

Tested by

no test coverage detected