MCPcopy
hub / github.com/apache/pouchdb / execute

Method execute

lib/index.es.js:2499–2510  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

2497 }
2498
2499 execute() {
2500 var fun;
2501 if (this.failed) {
2502 while ((fun = this.queue.shift())) {
2503 fun(this.failed);
2504 }
2505 } else {
2506 while ((fun = this.queue.shift())) {
2507 fun();
2508 }
2509 }
2510 }
2511
2512 fail(err) {
2513 this.failed = err;

Callers 5

failMethod · 0.95
readyMethod · 0.95
addTaskMethod · 0.95
completeFunction · 0.45
finishFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected