MCPcopy 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
525bool Controller::IsCanceled() const {
526 SocketUniquePtr sock;
527 return (Socket::Address(_current_call.peer_id, &sock) != 0);
528}
529
530class RunOnCancelThread {
531public:

Callers 2

TEST_FFunction · 0.80
DisplayResultFunction · 0.80

Calls

no outgoing calls

Tested by 1

TEST_FFunction · 0.64