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

Function set

fdbserver/ConfigDatabaseUnitTests.actor.cpp:506–508  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

504// These functions give a common interface to all environments, to improve code reuse
505template <class Env, class... Args>
506Future<Void> set(Env& env, Args&&... args) {
507 return waitOrError(env.set(std::forward<Args>(args)...), env.getError());
508}
509template <class... Args>
510Future<Void> set(BroadcasterToLocalConfigEnvironment& env, Args&&... args) {
511 env.set(std::forward<Args>(args)...);

Calls 3

setMethod · 0.65
VoidClass · 0.50
getErrorMethod · 0.45

Tested by

no test coverage detected