* Cancel a reservation when processQueueIfReady had nothing to process. * Transitions dispatching → idle.
()
| 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, |
no test coverage detected