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

Method WaitableRequest

library/cpp/netliba/v6/udp_http.cpp:902–908  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

900 return wr->GetResponse();
901 }
902 TIntrusivePtr<TWaitResponse> WaitableRequest(const TUdpAddress& addr, const TString& url, TVector<char>* data) override {
903 TIntrusivePtr<TWaitResponse> wr = new TWaitResponse;
904 TGUID reqId;
905 CreateGuid(&reqId);
906 SendRequestImpl(addr, url, data, reqId, wr.Get(), nullptr);
907 return wr;
908 }
909 TMuxEvent& GetAsyncEvent() override {
910 return UserQueues->GetAsyncEvent();
911 }

Callers 1

WaitableRequestMethod · 0.45

Calls 2

CreateGuidFunction · 0.85
GetMethod · 0.45

Tested by

no test coverage detected