Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/apache/brpc
/ IsCanceled
Method
IsCanceled
src/brpc/controller.cpp:525–528 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
523
}
524
525
bool Controller::IsCanceled() const {
526
SocketUniquePtr sock;
527
return (Socket::Address(_current_call.peer_id, &sock) != 0);
528
}
529
530
class RunOnCancelThread {
531
public:
Callers
2
TEST_F
Function · 0.80
DisplayResult
Function · 0.80
Calls
no outgoing calls
Tested by
1
TEST_F
Function · 0.64