Suggestion: Health-check example
Ouverte
- Langage dominant
- C++
- Étoiles
- 347
- Forks
- 47
- Merge moyen
- 3 j 8 h
- PR mergées (30 j)
- 1
Description
Async could provide a health check as an example since it is simple enough to implement and useful in general. Constraints
* Ping the server periodically (can be a http endpoint).
* Use only one timer.
* The timer should not be cancelled.
* On expiration the timer should exit with success.
The interface could look like
```cpp
co_await health_check(connection, std::chrono::seconds{1});
```
Guide de contribution
Aucun guide de contribution indexé pour ce dépôt
Évaluation
Cette issue n'a pas encore été évaluée.