(event *wps.WaveEvent)
| 138 | } |
| 139 | |
| 140 | func handleBlockCloseEvent(event *wps.WaveEvent) { |
| 141 | blockId, ok := event.Data.(string) |
| 142 | if !ok { |
| 143 | log.Printf("[blockclose] invalid event data type") |
| 144 | return |
| 145 | } |
| 146 | go DestroyBlockController(blockId) |
| 147 | } |
| 148 | |
| 149 | // Public API Functions |
| 150 |
nothing calls this directly
no test coverage detected