MCPcopy
hub / github.com/sindresorhus/p-queue / #clearTimeoutTimer

Method #clearTimeoutTimer

source/index.ts:282–287  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

280 }
281
282 #clearTimeoutTimer(): void {
283 if (this.#timeoutId) {
284 clearTimeout(this.#timeoutId);
285 this.#timeoutId = undefined;
286 }
287 }
288
289 #tryToStartAnother(): boolean {
290 if (this.#queue.size === 0) {

Callers 2

#tryToStartAnotherMethod · 0.95
clearMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected