MCPcopy Create free account
hub / github.com/3rdparty/libprocess / after

Function after

src/tests/future_tests.cpp:304–309  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

302
303
304Future<Nothing> after(std::atomic_bool* executed, const Future<Nothing>& future)
305{
306 EXPECT_TRUE(future.hasDiscard());
307 executed->store(true);
308 return Failure("Failure");
309}
310
311
312// Checks that the 'after' callback gets executed if the future is not

Callers 2

TESTFunction · 0.70
snapshotMethod · 0.50

Calls 2

FailureClass · 0.85
hasDiscardMethod · 0.80

Tested by

no test coverage detected