Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/catboost/catboost
/ FutureVoidFunc
Method
FutureVoidFunc
library/cpp/threading/future/future_ut.cpp:150–153 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
148
149
TPromise<void> Signal = NewPromise();
150
TFuture<void> FutureVoidFunc(const TFuture<int>& future) {
151
future.GetValue();
152
return Signal;
153
}
154
};
155
156
Y_UNIT_TEST(ShouldInvokeCallback) {
Callers
1
Y_UNIT_TEST
Function · 0.80
Calls
1
GetValue
Method · 0.45
Tested by
no test coverage detected