Expand pear-platform, observability, messaging, and network module APIs
Add batch parse, registry, log filtering, stream helpers, routing utilities, handshake management, and related clear/list/count methods across shorter modules. Co-authored-by: Cursor <[email protected]>
This commit is contained in:
@@ -44,6 +44,16 @@ class HyperP2PVoidChannel extends EventEmitter {
|
||||
return this._voids.delete(String(channel))
|
||||
}
|
||||
|
||||
clearVoids () {
|
||||
const n = this._voids.size
|
||||
this._voids.clear()
|
||||
return n
|
||||
}
|
||||
|
||||
voidCount () {
|
||||
return this._voids.size
|
||||
}
|
||||
|
||||
subscriberCount () {
|
||||
return this._subs.size
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user