I recently started doing some custom map editing development and have a tool where I want to show some overlay graphics as the user moves their mouse around. The overlay stuff works well but if I just redraw on every mouse move event, it takes too long to process the redraw and it lags behind the mouse cursor. I saw there's a DelayedInvoker class that sounds like it's meant to support these kinds of situations but the documentation is very light and I don't see any examples of how it would be used. For now, I implemented my own method where I push all coordinates from the mouse move even to a stack and then once a redraw is done, it can pop the most recent coordinate from that stack and remove/ignore any points it wasn't able to process while it was drawing. It works well but if there's already something that is able to provide a similar function, I would love to use that instead. Does anyone have any examples of using the DelayedInvoker for mouse move events?