userver: userver/engine/task/inherited_variable_options.hpp Source File
Loading...
Searching...
No Matches
inherited_variable_options.hpp
Go to the documentation of this file.
1#pragma once
2
3/// @file userver/engine/task/inherited_variable_options.hpp
4/// @brief @copybrief engine::TaskInheritedVariablePriority
5
6#include <cstdint>
7
8USERVER_NAMESPACE_BEGIN
9
10namespace engine {
11
12/// @brief Controls whether a @ref engine::TaskInheritedVariable instance is inherited from the creating task.
14 /// Default priority for @ref engine::TaskInheritedVariable. Propagates to normal tasks.
16 /// The minimum priority for @ref engine::TaskInheritedVariable instances to propagate to background tasks
17 /// (e.g. @ref utils::AsyncBackground).
19 /// The minimum priority for @ref engine::TaskInheritedVariable instances to propagate to no-tracing tasks
20 /// (e.g. @ref engine::AsyncNoTracing).
21 /// As of now, this priority cannot be assigned to a variable.
23 /// Do not inherit any variables.
24 kNone = 2,
25};
26
27} // namespace engine
28
29USERVER_NAMESPACE_END