MCPcopy Create free account
hub / github.com/AlexInLog/ReactivePlusPlus / wait

Function wait

src/tests/utils/rpp_trompeloil.hpp:57–63  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

55
56template<typename T>
57inline void wait(const std::unique_ptr<T>& e)
58{
59 while (!e->is_satisfied())
60 {
61 std::this_thread::sleep_for(std::chrono::seconds{1});
62 }
63}

Callers 3

test_scheduler.cppFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected