(blockId string, inputUnion *BlockInputUnion)
| 322 | } |
| 323 | |
| 324 | func 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 |
| 334 | func StopAllBlockControllersForShutdown() { |
no test coverage detected