Hi Folks, I am looking to trigger an event if user is in-active for a certain duration. I was exploring ‘TransformerSupplier-Punctuator’ feature but it does not seem to be a natural fit, because I need to find a way to reset the schedule if user comes back online within fixed time window. Any suggestions for this ?
When you register the punctuator, it gives you a Cancellable
back, that allows you to stop/cancel the current registered one if an event arrives and schedule a new one.
Frankly: not the best API for this use case, but at least it should be possible.