1) Per-second main event loop cycle;
2) ScheduledTask.period field is added;
3) Periodic tasks execution feature has been added.
Design ways
The current approach with iterating over scheduled tasks each second.
The 2-stages approach:
a. Iterate over each minute as in the AS-IS solution.
b. Add a second 60-seconds over-each-second iteration cycle to iterates through to be launched each minute.
The second approach looks like:
Updates
1) Per-second main event loop cycle; 2) ScheduledTask.period field is added; 3) Periodic tasks execution feature has been added.
Design ways
Notes:
The example to run the feature against is
main_test.py
in the root directory: