MCPcopy
hub / github.com/CopyTranslator/CopyTranslator / shift

Method shift

src/main/pp-ocr.ts:17–22  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

15 super();
16 }
17 shift() {
18 this.length &&
19 Promise.resolve(this[0]()).then(
20 () => (super.shift(), this.status && this.shift())
21 );
22 }
23 push(cb: any): number {
24 super.push(cb) - 1 || (this.status && this.shift());
25 return 0;

Callers 4

pushMethod · 0.95
kFunction · 0.80
marked.min.jsFile · 0.80
constructorMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected