Expand supercomputer, pear, storage, network, and workflow modules
Add manual API helpers across categories: net gateway capacity, compute shard plan cancel, ram pool lease release, pear target matrix and bundle/detached registry clears, argv flag reset, autobase writer full/slots, view sync isSynced, indexer bus batch publish, inverted index clear, blind relay and DHT hint listing, blind pair handoff cleanup, retransmission resolve all, version vector and OR-map clear, workflow graph complete-all-ready, and wire registry decode batch. Co-authored-by: Cursor <[email protected]>
This commit is contained in:
@@ -81,6 +81,18 @@ class HyperP2PRetransmissionMedia extends EventEmitter {
|
||||
return this.pendingNacks().filter((n) => n.streamId === sid)
|
||||
}
|
||||
|
||||
clearAll () {
|
||||
const n = this._nacks.size
|
||||
this._nacks.clear()
|
||||
return n
|
||||
}
|
||||
|
||||
resolveAll () {
|
||||
const pending = this.pendingNacks()
|
||||
for (const n of pending) this.resolve(n.streamId, n.seq)
|
||||
return pending.length
|
||||
}
|
||||
|
||||
getStats () {
|
||||
return mediaStats(this._stats, PROTOCOL, { pending: this._nacks.size })
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user