Expand storage, transport, routing, agents, and messaging event bus modules
Add session bridge pair management, core replicator policy clear, drive mount unmount-all, relay tunnel bulk close, compact codec resetStats, peer bootstrap and noise session listing, graph and disk stripe clear, memetic clear, retry policy route management, bitfield drain, task orchestrator cancelAllPending, and distributed event bus topic/unsubscribe helpers. Co-authored-by: Cursor <[email protected]>
This commit is contained in:
@@ -133,6 +133,12 @@ class HyperP2PDiskStripe extends EventEmitter {
|
||||
return [...this._stripes.keys()]
|
||||
}
|
||||
|
||||
clearAll () {
|
||||
const n = this._stripes.size
|
||||
this._stripes.clear()
|
||||
return n
|
||||
}
|
||||
|
||||
getStats () {
|
||||
return clusterStats(this._stats, PROTOCOL, {
|
||||
open: this._stripes.size,
|
||||
|
||||
Reference in New Issue
Block a user