This feels easy but...
I have a tool that listens for map clicks on the map. When the tool is minimized I want to remove the event listener. I don't have any follow-up action to do in a callback function and I can't exclude the listener function. Aside from creating a doNothing function, is there something else.
tool.removeEventListener(MapMouseEvent.MAP_CLICK, ?)