MCPcopy Create free account
hub / github.com/SpartanJ/eepp / setCancelRequest

Method setCancelRequest

src/eepp/network/http.cpp:1364–1372  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1362}
1363
1364bool Http::setCancelRequest( Uint64 reqId, bool resetCancelCallback ) {
1365 Lock l( mCurRequestsMutex );
1366 auto found = mCurRequests.find( reqId );
1367 if ( found != mCurRequests.end() ) {
1368 found->second->cancel( resetCancelCallback );
1369 return true;
1370 }
1371 return false;
1372}
1373
1374#if EE_PLATFORM == EE_PLATFORM_EMSCRIPTEN
1375struct WGetAsyncRequest {

Callers 2

~UIDownloadWindowMethod · 0.80
cancelMethod · 0.80

Calls 3

findMethod · 0.45
endMethod · 0.45
cancelMethod · 0.45

Tested by

no test coverage detected