Newbies your opinion about explaining millis() is required

Hi everybody,
thank you for the input. It gave me at least some inspiration how to develop it further.
I intend to write a tutorial about non-blocking-timing for users that search for a certain functionlaity which can be described as:

If have a application where something has to loop at high speed
f.e. check if button is pressed and if yes start motor and check limit-switch at high-speed to switch off motor again immideately when endposition is reached.
additionally in certain intervals something shall be executed. F.e. read in sensordata once every 10 seconds.

classical case for non-blocking timing. The basic structure looks like this: ....

Of course the possible timing-requirements can deviate more or less from this description and will result in different codes sometimes including statemachines or ISRs or whatever.

I think pictures and diagrams will be a good help to understand it more. This will take some time to create it.

best regards Stefan