|
esphome-api-client 0.5.0
Modern C++17 client for the ESPHome native API (plaintext + Noise)
|
Executor + timer abstraction (asio-free). More...
#include <chrono>#include <cstdint>#include <functional>

Go to the source code of this file.
Classes | |
| class | esphome::api::Executor |
| Minimal executor: deferred execution plus one-shot timers. More... | |
Namespaces | |
| namespace | esphome |
| namespace | esphome::api |
Typedefs | |
| using | esphome::api::TimerId = std::uint64_t |
Opaque handle to a scheduled timer; invalid_timer means "no timer". | |
Variables | |
| constexpr TimerId | esphome::api::invalid_timer = 0 |
Executor + timer abstraction (asio-free).
The Asio implementation wraps an io_context; tests use a manually-advanced fake clock.