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

Method consume

fdbserver/LocalConfiguration.actor.cpp:318–325  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

316 }
317
318 ACTOR static Future<Void> consume(LocalConfigurationImpl* self, ConfigBroadcastInterface broadcaster) {
319 loop {
320 choose {
321 when(wait(consumeInternal(self, broadcaster))) { ASSERT(false); }
322 when(wait(self->kvStore->getError())) { ASSERT(false); }
323 }
324 }
325 }
326
327public:
328 LocalConfigurationImpl(std::string const& dataFolder,

Callers

nothing calls this directly

Calls 3

consumeFunction · 0.85
whenFunction · 0.70
getErrorMethod · 0.45

Tested by

no test coverage detected