MCPcopy Create free account
hub / github.com/chronoxor/FastBinaryEncoding / resetRequests

Method resetRequests

projects/JavaScript/proto/enums.js:8331–8337  ·  view source on GitHub ↗

* Reset client requests * @this {!FinalClient}

()

Source from the content-addressed store, hash-verified

8329 * @this {!FinalClient}
8330 */
8331 resetRequests () {
8332 for (let [, value] of this._requests_by_id) {
8333 value[2].reject(new Error('Reset client!'))
8334 }
8335 this._requests_by_id.clear()
8336 this._requests_by_timestamp.clear()
8337 }
8338
8339 /**
8340 * Watchdog client requests for timeouts

Callers 1

resetMethod · 0.95

Calls 2

clearMethod · 0.80
rejectMethod · 0.45

Tested by

no test coverage detected