* Reset client requests * @this {!Client}
()
| 25034 | * @this {!Client} |
| 25035 | */ |
| 25036 | resetRequests () { |
| 25037 | this._protoClient.resetRequests() |
| 25038 | |
| 25039 | for (let [, value] of this._requests_by_id) { |
| 25040 | value[2].reject(new Error('Reset client!')) |
| 25041 | } |
| 25042 | this._requests_by_id.clear() |
| 25043 | this._requests_by_timestamp.clear() |
| 25044 | } |
| 25045 | |
| 25046 | /** |
| 25047 | * Watchdog client requests for timeouts |
no test coverage detected