MCPcopy Create free account
hub / github.com/apache/brpc / Run

Method Run

example/cancel_c++/client.cpp:38–40  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

36 explicit CancelRPC(brpc::CallId rpc_id) : _rpc_id(rpc_id) {}
37
38 void Run() {
39 brpc::StartCancel(_rpc_id);
40 }
41
42private:
43 brpc::CallId _rpc_id;

Callers 2

Calls 1

StartCancelFunction · 0.85

Tested by

no test coverage detected