MCPcopy
hub / github.com/localForage/localForage / executeCallback

Function executeCallback

test/dummyStorageDriver.js:428–439  ·  view source on GitHub ↗
(promise, callback)

Source from the content-addressed store, hash-verified

426 }
427
428 function executeCallback(promise, callback) {
429 if (callback) {
430 promise.then(
431 function(result) {
432 callback(null, result);
433 },
434 function(error) {
435 callback(error);
436 }
437 );
438 }
439 }
440
441 var dummyStorageDriver = {
442 _driver: 'dummyStorageDriver',

Callers 8

clearFunction · 0.70
getItemFunction · 0.70
iterateFunction · 0.70
keyFunction · 0.70
keysFunction · 0.70
lengthFunction · 0.70
removeItemFunction · 0.70
setItemFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…