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

Method Cancel

library/cpp/neh/tcp2.cpp:362–372  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

360 }
361
362 void Cancel() noexcept override {
363 if (TSimpleHandle::Canceled()) {
364 return;
365 }
366
367 TRequestRef req = GetRequest();
368 if (!!req) {
369 req->Cancel();
370 TSimpleHandle::Cancel();
371 }
372 }
373
374 void NotifyResponse(const TString& resp) {
375 TNotifyHandle::NotifyResponse(resp);

Callers

nothing calls this directly

Calls 2

CancelFunction · 0.50
CancelMethod · 0.45

Tested by

no test coverage detected