MCPcopy
hub / github.com/claude-code-best/claude-code / cancelReservation

Method cancelReservation

src/utils/QueryGuard.ts:49–53  ·  view source on GitHub ↗

* Cancel a reservation when processQueueIfReady had nothing to process. * Transitions dispatching → idle.

()

Source from the content-addressed store, hash-verified

47 * Transitions dispatching → idle.
48 */
49 cancelReservation(): void {
50 if (this._status !== 'dispatching') return
51 this._status = 'idle'
52 this._notify()
53 }
54
55 /**
56 * Start a query. Returns the generation number on success,

Callers 1

executeUserInputFunction · 0.80

Calls 1

_notifyMethod · 0.95

Tested by

no test coverage detected