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

Function MakeTsunamiController

pkg/blockcontroller/tsunamicontroller.go:408–416  ·  view source on GitHub ↗
(tabId string, blockId string, connName string)

Source from the content-addressed store, hash-verified

406}
407
408func MakeTsunamiController(tabId string, blockId string, connName string) Controller {
409 log.Printf("make tsunami controller: %s %s\n", tabId, blockId)
410 return &TsunamiController{
411 blockId: blockId,
412 tabId: tabId,
413 connName: connName,
414 status: Status_Init,
415 }
416}
417
418// requires the lock (so do not call while holding statusLock)
419func (c *TsunamiController) sendStatusUpdate() {

Callers 1

ResyncControllerFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected