MCPcopy Create free account
hub / github.com/catboost/catboost / FutureFunc

Method FutureFunc

library/cpp/threading/future/future_ut.cpp:145–147  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

143 }
144
145 TFuture<int> FutureFunc(const TFuture<int>& future) {
146 return MakeFuture(Value += future.GetValue());
147 }
148
149 TPromise<void> Signal = NewPromise();
150 TFuture<void> FutureVoidFunc(const TFuture<int>& future) {

Callers 1

Y_UNIT_TESTFunction · 0.80

Calls 2

MakeFutureFunction · 0.85
GetValueMethod · 0.45

Tested by

no test coverage detected