Bases: object
Tasks to be run at a periodic interval.
Decorator to indicate that a method is a periodic task.
This decorator can be used in two ways:
- Without arguments '@periodic_task‘, this will be run on every tick of the periodic scheduler.
- With arguments, @periodic_task(ticks_between_runs=N), this will be run on every N ticks of the periodic scheduler.