feat(media,messaging,network): deepen streaming and transport APIs
Hyper-P2P Module Tests / unit-all (push) Failing after 1h16m23s

Origin hybrid weighted select, latency path stats, live-edge listing;
topic channel batch publish and retained clear; wakeup reschedule and
cancelAll; electron bridge handler registry helpers.

Co-authored-by: Cursor <[email protected]>
This commit is contained in:
Raven Scott
2026-05-21 02:25:52 -04:00
co-authored by Cursor
parent cce695e34a
commit c8f09d914c
6 changed files with 106 additions and 0 deletions
@@ -30,6 +30,16 @@ class HyperPearElectronBridge extends EventEmitter {
return [...this._channels.keys()]
}
unregisterAll () {
const n = this._channels.size
this._channels.clear()
return n
}
handlerCount () {
return this._channels.size
}
invoke (name, payload) {
const h = this._channels.get(assertId(name))
if (!h) throw new Error(`ipc not registered: ${name}`)