* Reset client requests * @this {!Client}
()
| 7337 | * @this {!Client} |
| 7338 | */ |
| 7339 | resetRequests () { |
| 7340 | this._protoClient.resetRequests() |
| 7341 | |
| 7342 | for (let [, value] of this._requests_by_id) { |
| 7343 | value[2].reject(new Error('Reset client!')) |
| 7344 | } |
| 7345 | this._requests_by_id.clear() |
| 7346 | this._requests_by_timestamp.clear() |
| 7347 | } |
| 7348 | |
| 7349 | /** |
| 7350 | * Watchdog client requests for timeouts |
no test coverage detected