TimeSliceThread request


#1

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 :slight_smile:


#2

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…


#3

Would work for me


#4

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.