Triggers on every fixed interval.

Note that as long as the >= interval number of steps have passed since the last trigger, the event gets triggered. The current value is not necessarily interval steps away from the last triggered value.

interval The triggering interval.
fn callable with no arguments that gets triggered.
start An initial value for the trigger.



View source

Resets the trigger interval.


View source


View source

Maybe trigger the event based on the interval.

value the value for triggering.
force_trigger If True, the trigger will be forced triggered unless the last trigger value is equal to value.