Expand category docs and module APIs across the library.
Manual pass adds helpers (listChannels, taskCounts, openProposals), richer getStats with protocol fields, category README hubs, and tightened api.md for core, messaging, network, routing, supercomputer, and consensus modules. Co-authored-by: Cursor <[email protected]>
This commit is contained in:
@@ -83,6 +83,10 @@ class HyperP2PCollabRoom extends EventEmitter {
|
||||
return [...room.members.values()]
|
||||
}
|
||||
|
||||
listRooms () { return [...this._rooms.keys()] }
|
||||
|
||||
hasRoom (roomId) { return this._rooms.has(roomId) }
|
||||
|
||||
getEvents (roomId, limit = 50) {
|
||||
const room = this._rooms.get(roomId)
|
||||
if (!room) return []
|
||||
|
||||
Reference in New Issue
Block a user