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

Method addStopCallback

fdbrpc/FlowTests.actor.cpp:258–261  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

256 double timer_monotonic() override { return baseNetwork->timer_monotonic(); }
257 void stop() override { return baseNetwork->stop(); }
258 void addStopCallback(std::function<void()> fn) override {
259 ASSERT(false);
260 return;
261 }
262 bool isSimulated() const override { return baseNetwork->isSimulated(); }
263 void onMainThread(Promise<Void>&& signal, TaskPriority taskID) override {
264 return baseNetwork->onMainThread(std::move(signal), taskID);

Callers 3

mainFunction · 0.45
Sim2Function · 0.45
setupNetworkFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected