MCPcopy Index your code
hub / github.com/apache/pouchdb / execute

Method execute

lib/index.js:2504–2515  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

2502 }
2503
2504 execute() {
2505 var fun;
2506 if (this.failed) {
2507 while ((fun = this.queue.shift())) {
2508 fun(this.failed);
2509 }
2510 } else {
2511 while ((fun = this.queue.shift())) {
2512 fun();
2513 }
2514 }
2515 }
2516
2517 fail(err) {
2518 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