userver
C++ Async Framework
Loading...
Searching...
No Matches
queue_runner.hpp
1
#
pragma
once
2
3
#
include
<
grpcpp
/
completion_queue
.
h
>
4
5
#
include
<
userver
/
engine
/
single_use_event
.
hpp
>
6
7
USERVER_NAMESPACE_BEGIN
8
9
namespace
ugrpc::impl {
10
11
class
QueueRunner
final
{
12
public
:
13
explicit
QueueRunner(grpc::CompletionQueue& queue);
14
~QueueRunner();
15
16
private
:
17
grpc::CompletionQueue& queue_;
18
engine::SingleUseEvent completion_;
19
};
20
21
}
// namespace ugrpc::impl
22
23
USERVER_NAMESPACE_END
userver
ugrpc
impl
queue_runner.hpp
Generated on Wed May 15 2024 22:25:20 for userver by
Doxygen
1.10.0