userver
C++ Async Framework
Loading...
Searching...
No Matches
context_accessor.hpp
1
#
pragma
once
2
3
USERVER_NAMESPACE_BEGIN
4
5
namespace
engine::impl {
6
7
class
TaskContext;
8
9
class
ContextAccessor {
10
public
:
11
ContextAccessor();
12
13
virtual
bool
IsReady()
const
noexcept
= 0;
14
15
virtual
void
AppendWaiter(impl::TaskContext& context)
noexcept
= 0;
16
17
virtual
void
RemoveWaiter(impl::TaskContext& context)
noexcept
= 0;
18
19
virtual
void
RethrowErrorResult()
const
= 0;
20
21
protected
:
22
~ContextAccessor() =
default
;
23
};
24
25
}
// namespace engine::impl
26
27
USERVER_NAMESPACE_END
userver
engine
impl
context_accessor.hpp
Generated on Wed Oct 4 2023 12:13:22 for userver by
Doxygen
1.9.8