How can I gracefully cancel or timeout a Haxe Timer when an operation takes too long?
I’m using haxe.Timer.delay to schedule a function that performs a network request. If the request takes longer than expected, I’d like to cancel the timer and handle a timeout gracefully. I also need to cancel any pending timers when a new request is issued to avoid overlapping calls. What is the idiomatic way to cancel a Timer before it fires? How can I add