userver: userver/utils/periodic_task.hpp File Reference
Loading...
Searching...
No Matches
periodic_task.hpp File Reference

Detailed Description

Task that periodically runs a user callback. Callback is started after the previous callback execution is finished every period + A - B, where:

Definition in file periodic_task.hpp.

Go to the source code of this file.

#include <chrono>
#include <functional>
#include <optional>
#include <string>
#include <userver/logging/level.hpp>
#include <userver/utils/assert.hpp>
#include <userver/utils/fast_pimpl.hpp>
#include <userver/utils/flags.hpp>
+ This graph shows which files directly or indirectly include this file:

Classes

class  utils::PeriodicTask
 Task that periodically runs a user callback. Callback is started after the previous callback execution is finished every period + A - B, where: More...
 
struct  utils::PeriodicTask::Settings
 Configuration parameters for PeriodicTask. More...
 

Namespaces

namespace  engine
 Asynchronous engine primitives.
 
namespace  testsuite
 Testsuite integration.
 
namespace  utils
 Utilities.