* Cancel a reservation when processQueueIfReady had nothing to process. * Transitions dispatching → idle.
()
| 49 | * Transitions dispatching → idle. |
| 50 | */ |
| 51 | cancelReservation(): void { |
| 52 | if (this._status !== 'dispatching') return |
| 53 | this._status = 'idle' |
| 54 | this._notify() |
| 55 | } |
| 56 | |
| 57 | /** |
| 58 | * Start a query. Returns the generation number on success, |
no test coverage detected