MCPcopy
hub / github.com/plasma-umass/browsix / done

Function done

src/ld.js:2791–2802  ·  view source on GitHub ↗
(err)

Source from the content-addressed store, hash-verified

2789 var store = transaction.objectStore(IDBFS.DB_STORE_NAME);
2790
2791 function done(err) {
2792 if (err) {
2793 if (!done.errored) {
2794 done.errored = true;
2795 return callback(err);
2796 }
2797 return;
2798 }
2799 if (++completed >= total) {
2800 return callback(null);
2801 }
2802 };
2803
2804 transaction.onerror = function(e) {
2805 done(this.error);

Callers 15

ld.jsFile · 0.70
test-xhrfs.tsFile · 0.50
nodeOpenedFunction · 0.50
test-rmdir.tsFile · 0.50
onExitFunction · 0.50
test-rm.tsFile · 0.50
onExitFunction · 0.50
test-scheduler.tsFile · 0.50
onExitFunction · 0.50
test-touch.tsFile · 0.50
onExitFunction · 0.50
test-wc.tsFile · 0.50

Calls 3

doCallbackFunction · 0.70
exitMethod · 0.65
callbackFunction · 0.50

Tested by

no test coverage detected