Complete module API expansion: snapshot() on all remaining modules.
Adds snapshot(), clearAll aliases, and batch helpers across storage (hyperbee, hypercore, hyperdrive, autobase), indexes, pear-platform, trust, routing intent-router, and temporal-index. Co-authored-by: Cursor <[email protected]>
This commit is contained in:
@@ -110,6 +110,10 @@ class HyperPearWorkerPipe extends EventEmitter {
|
||||
return this.closeAll()
|
||||
}
|
||||
|
||||
snapshot () {
|
||||
return { pipes: this._pipes.size }
|
||||
}
|
||||
|
||||
getStats () {
|
||||
return platformStats(this._stats, PROTOCOL, { pipes: this._pipes.size })
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user