feat(media,messaging,network): deepen streaming and transport APIs
Hyper-P2P Module Tests / unit-all (push) Failing after 1h16m23s
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:
@@ -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}`)
|
||||
|
||||
Reference in New Issue
Block a user