MCPcopy Create free account
hub / github.com/emscripten-core/emscripten / doCallback

Function doCallback

src/Fetch.js:750–756  ·  view source on GitHub ↗
(f)

Source from the content-addressed store, hash-verified

748 var fetchAttrSynchronous = !!(fetchAttributes & {{{ cDefs.EMSCRIPTEN_FETCH_SYNCHRONOUS }}});
749
750 function doCallback(f) {
751 if (fetchAttrSynchronous) {
752 f();
753 } else {
754 callUserCallback(f);
755 }
756 }
757
758 var reportSuccess = (fetch, xhr, e) => {
759#if FETCH_DEBUG

Callers 6

reportSuccessFunction · 0.70
reportProgressFunction · 0.70
reportErrorFunction · 0.70
reportReadyStateChangeFunction · 0.70
storeSuccessFunction · 0.70
storeErrorFunction · 0.70

Calls 1

fFunction · 0.50

Tested by

no test coverage detected