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

Function SendInput

pkg/blockcontroller/blockcontroller.go:324–331  ·  view source on GitHub ↗
(blockId string, inputUnion *BlockInputUnion)

Source from the content-addressed store, hash-verified

322}
323
324func SendInput(blockId string, inputUnion *BlockInputUnion) error {
325 controller := getController(blockId)
326 if controller == nil {
327 return fmt.Errorf("no controller found for block %s", blockId)
328 }
329 sendConnMonitorInputNotification(controller)
330 return controller.SendInput(inputUnion)
331}
332
333// only call this on shutdown
334func StopAllBlockControllersForShutdown() {

Callers 1

Calls 3

getControllerFunction · 0.85
SendInputMethod · 0.65

Tested by

no test coverage detected