Open JanKoehnlein opened 6 years ago
These lines from DiagramServer make me think
DiagramServer
handle(action: Action): void | ICommand { const forwardToServer = this.handleLocally(action); if (forwardToServer) { ... this.sendMessage(message); } }
Our handleXXX methods should return true if the action was handled, not the other way around.
handleXXX
true
These lines from
DiagramServer
make me thinkOur
handleXXX
methods should returntrue
if the action was handled, not the other way around.