Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/apache/brpc
/ Observe
Method
Observe
test/observer_list_unittest.cc:61–66 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
59
}
60
61
virtual void Observe(int x) OVERRIDE {
62
if (!added) {
63
added = true;
64
observer_list->AddObserver(&adder);
65
}
66
}
67
68
bool added;
69
ObserverListType* observer_list;
Callers
nothing calls this directly
Calls
1
AddObserver
Method · 0.80
Tested by
no test coverage detected