You know what, I completely forgot about my own library. ![]()
I have a library for which I’ve created a block library which has a Timer Manager built to handle a case like this.
Obviously expire is the correct end solution but in the more general case where you have one timer per Item Timer Manager can be very powerful.
I am not sure if the function is required with Timer Manager to fix the variables. I’d need to look at the code to double check so I’ve left it in a function.
It doesn’t really add much in this one case but if you need to detect flapping it can handle that for you.
