userver
C++ Async Framework
Toggle main menu visibility
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
8
USERVER_NAMESPACE_BEGIN
9
10
namespace
engine {
11
12
/// @brief Controls whether a @ref engine::TaskInheritedVariable instance is inherited from the creating task.
13
enum
class
TaskInheritedVariablePriority
:
std
::
uint8_t
{
14
/// Default priority for @ref engine::TaskInheritedVariable. Propagates to normal tasks.
15
kNormal
= 0,
16
/// The minimum priority for @ref engine::TaskInheritedVariable instances to propagate to background tasks
17
/// (e.g. @ref utils::AsyncBackground).
18
kBackground
= 1,
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.
22
kNoTracing
= 2,
23
/// Do not inherit any variables.
24
kNone
= 2,
25
};
26
27
}
// namespace engine
28
29
USERVER_NAMESPACE_END
userver
engine
task
inherited_variable_options.hpp
Generated on
for userver by
Doxygen
1.17.0