Hi Jules, could you add an optional setting of the max timeout value for the TimeSliceThread (in constructor) ? 500 ms is a bit too much for me
TBH each task should probably be returning a value to indicate how many milliseconds to wait before calling it again - that’d be a lot more flexible than setting a value for all of them…
Would work for me
Bizarrely, just after posting this, I hit a tricky problem for which this would be the perfect solution.
Will code it up today. Existing code will break, but is easy to fix, and the result is much more flexible.