MCPcopy Create free account
hub / github.com/ambianic/peerfetch / _processNextTicketInLine

Method _processNextTicketInLine

javascript/src/peerfetch.ts:559–565  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

557 }
558
559 _processNextTicketInLine () {
560 // check if there is a pending ticket
561 // and process it
562 if (this._pendingRequests()) {
563 this._sendNextRequest()
564 }
565 }
566
567 /**
568 * Check if there are any pending requests waiting in line.

Callers 1

_checkResponseReadyMethod · 0.95

Calls 2

_pendingRequestsMethod · 0.95
_sendNextRequestMethod · 0.95

Tested by

no test coverage detected