MCPcopy Index your code
hub / github.com/sql-js/sql.js / done

Function done

js/sql-debug.js:2382–2393  ·  view source on GitHub ↗
(err)

Source from the content-addressed store, hash-verified

2380 var store = transaction.objectStore(IDBFS.DB_STORE_NAME);
2381
2382 function done(err) {
2383 if (err) {
2384 if (!done.errored) {
2385 done.errored = true;
2386 return callback(err);
2387 }
2388 return;
2389 }
2390 if (++completed >= total) {
2391 return callback(null);
2392 }
2393 };
2394
2395 transaction.onerror = function(e) {
2396 done(this.error);

Callers 1

sql-debug.jsFile · 0.70

Calls 1

doCallbackFunction · 0.70

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…