userver
C++ Async Framework
Loading...
Searching...
No Matches
future_status.hpp
Go to the documentation of this file.
1
#
pragma
once
2
3
/// @file userver/engine/future_status.hpp
4
/// @brief @copybrief engine::FutureStatus
5
6
USERVER_NAMESPACE_BEGIN
7
8
namespace
engine {
9
10
/// std::future state extended with "cancelled" state
11
enum
class
FutureStatus
{
12
kReady
,
///< the future is ready
13
kTimeout
,
///< the wait operation timed out
14
kCancelled
///< the wait operation was interrupted by task cancellation
15
};
16
17
}
// namespace engine
18
19
USERVER_NAMESPACE_END
userver
engine
future_status.hpp
Generated on Tue Nov 19 2024 11:25:23 for userver by
Doxygen
1.10.0