MCPcopy Create free account
hub / github.com/apple/foundationdb / trigger

Method trigger

fdbclient/GlobalConfig.actor.cpp:99–101  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

97}
98
99void GlobalConfig::trigger(KeyRef key, std::function<void(std::optional<std::any>)> fn) {
100 callbacks.emplace(key, std::move(fn));
101}
102
103void GlobalConfig::insert(KeyRef key, ValueRef value) {
104 // TraceEvent(SevInfo, "GlobalConfigInsert").detail("Key", key).detail("Value", value);

Calls 1

moveFunction · 0.85

Tested by 1

randomOpMethod · 0.36