@rdeits had to solve this in:
I don’t recall the solution though. I’d probably do it by making a timer that you then enclose into a discrete callback, and use sleep to slow down the solve so the callback finishes at around time t=n (by taking a new time and subtracting it from the start time of course). You’d then want to use a counter so that it doesn’t drift.