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

Method OnNotify

library/cpp/neh/multiclient.cpp:86–92  ·  view source on GitHub ↗

IOnRecv interface

Source from the content-addressed store, hash-verified

84
85 //IOnRecv interface
86 void OnNotify(THandle& h) override {
87 if (Y_LIKELY(MarkAsHandled())) {
88 THandleRef hr(&h);
89 OnMakeRequest(hr); //fix race with receiving response before return control from NNeh::Request()
90 MC_->ScheduleResponse(this, hr);
91 }
92 }
93
94 void OnRecv(THandle&) noexcept override {
95 UnRef();

Callers

nothing calls this directly

Calls 1

ScheduleResponseMethod · 0.80

Tested by

no test coverage detected