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

Function getController

pkg/blockcontroller/blockcontroller.go:91–95  ·  view source on GitHub ↗

Registry operations

(blockId string)

Source from the content-addressed store, hash-verified

89
90// Registry operations
91func getController(blockId string) Controller {
92 registryLock.RLock()
93 defer registryLock.RUnlock()
94 return controllerRegistry[blockId]
95}
96
97func registerController(blockId string, controller Controller) {
98 var existingController Controller

Callers 4

ResyncControllerFunction · 0.85
DestroyBlockControllerFunction · 0.85
SendInputFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected