Better than Timer for asynchronous programming?


Getting rid of delay() in favor of timers is clearly a necessary step when we have to deal with asynchronous data. Isn't there anything better and more friendly out-of-the-box Class similar to DispatchEvent/EventListener classes that we find in other languages?



There are some potentially useful ideas here:

Because there is so very little memory available on most f the ATMega Arduinos, it is a real challenge to provide genuine thread scheduling and stuff that you would be used to. It tends to be much more of a brute-force and bare-metal proposition.

Thanks guys.
Event System might be just what I am looking for.