Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/3rdparty/libprocess
/ onAny
Function
onAny
src/tests/future_tests.cpp:159–163 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
157
158
159
void onAny(const Future<bool>& future, bool* b)
160
{
161
ASSERT_TRUE(future.isReady());
162
*b = future.get();
163
}
164
165
166
TEST(FutureTest, OnAny)
Callers
5
Future
Class · 0.85
then
Method · 0.85
recover
Method · 0.85
repair
Method · 0.85
after
Method · 0.85
Calls
2
isReady
Method · 0.80
get
Method · 0.45
Tested by
no test coverage detected