(port)
| 75 | const controllerTransaction = new ControllerTransaction(); |
| 76 | |
| 77 | async function addPort(port) { |
| 78 | const eventCache = new EventCache(port, addPortQueue); |
| 79 | await modelInitialized; |
| 80 | addPortQueue.push(controllerTransaction, 'addPort', [port, eventCache]); |
| 81 | } |
| 82 | |
| 83 | async function removePort(port) { |
| 84 | const id = parseViewName(port.name).id; |