MCPcopy Create free account
hub / github.com/Zoo-Code-Org/Zoo-Code / clear

Method clear

packages/cloud/src/retry-queue/RetryQueue.ts:292–298  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

290 }
291
292 public clear(): void {
293 this.queue.clear()
294 this.persistQueue().catch((error) => {
295 this.log("[RetryQueue] Failed to persist after clear:", error)
296 })
297 this.emit("queue-cleared")
298 }
299
300 /**
301 * Pause the retry queue. When paused, no retries will be processed.

Callers 1

clearIfUserChangedMethod · 0.95

Calls 4

persistQueueMethod · 0.95
clearMethod · 0.65
logMethod · 0.65
emitMethod · 0.65

Tested by

no test coverage detected