Timer Queue

For a C# app I wrote a while back, I had need for many timer “alarm” notifications to activate arbitrary callbacks. Certainly I could have made one System.Threading.Timer instance for each alarm, but I figured that was overly resource intensive. Furthermore, I wanted the opportunity for all pending alarms to be cancelled instantly, if need be. I checked to see if the BCL already offered some kind of “timer queue,” and requested it when I found that it didn’t. In the mean-time, I wrote my own. I hope you can find use for it as well.