Expand media, agents, applications, and messaging module APIs on main.
Adds snapshot(), batch helpers, and clearAll aliases across media-streaming (20), agents-workflows, applications-collab/economy, messaging pubsub/streams/gossip. Co-authored-by: Cursor <[email protected]>
This commit is contained in:
@@ -123,6 +123,10 @@ class HyperP2PStreamMultiplex extends EventEmitter {
|
||||
return true
|
||||
}
|
||||
|
||||
snapshot () {
|
||||
return { open: this._streams.size, frames: this._stats.frames, bytes: this._stats.bytes }
|
||||
}
|
||||
|
||||
getStats () {
|
||||
return {
|
||||
...this._stats,
|
||||
|
||||
Reference in New Issue
Block a user