I came across
esp8266::polledTimeout for the ESP8266 Arduino core in the NTP example. But I could not find any documentation.
It seems to be a template that is intended to eliminate manual time(out) comparisons with
millis() (it has more options).
AFAIK there's nothing (yet) in the documentation https://arduino-esp8266.readthedocs.io/en/latest/, and the implementation at https://github.com/esp8266/Arduino/blob/master/cores/esp8266/PolledTimeout.h does not have a summary either.
The only thing I found is this example: https://github.com/esp8266/Arduino/blob/master/libraries/esp8266/examples/BlinkPolledTimeout/BlinkPolledTimeout.ino
I would like to know more about it's intended and practical use as well as limitations and alternatives.