Skip to content

Feature Request: simplify PolledTimeout namespace #7903

Closed
@d-a-v

Description

@d-a-v

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 with millis() and delay() which require nothing)
  • reduce the namespace size, or remove it

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions