We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e9f2cd7 commit 78407afCopy full SHA for 78407af
core/include/userver/utils/periodic_task.hpp
@@ -114,6 +114,8 @@ class PeriodicTask final {
114
/// PeriodicTask::Start() calls engine::current_task::GetTaskProcessor()
115
/// to get the TaskProcessor.
116
engine::TaskProcessor* task_processor{nullptr};
117
+ /// @brief enabled allows to enable/disable timer during run
118
+ bool enabled{true};
119
};
120
121
/// Signature of the task to be executed each period.
0 commit comments