Closed
Description
PolledTimeout
's namespace is large.
example: esp8266::polledTimeout::periodicFastMs ledBlink(1000);
It is, among other use-cases, aimed at replacing timed events calling millis()
and is thus used at several places in the core and examples.
It is also the preferred solution proposed to users when they're facing delay issues in their main loop ("do not use delay(), prefer PolledTimeout, check the example").
There is at least an aborted proposal to make it simpler with a mention to specific ideas for addressing this issue.
Kindly requesting to:
- remove the necessity of including
<something.h>
to use it (like withmillis()
anddelay()
which require nothing) - reduce the namespace size, or remove it