Add batch helpers and domain utilities across modules missing Batch APIs.
Third enrichment pass: *Batch methods for agents, economy, consensus, core, messaging, network, observability, pear-platform, scheduling, storage, supercomputer, and time-ordering modules. Co-authored-by: Cursor <[email protected]>
This commit is contained in:
@@ -112,6 +112,11 @@ class HyperBareHeadlessUi extends EventEmitter {
|
||||
}
|
||||
}
|
||||
|
||||
sendToUiBatch (messages) {
|
||||
if (!Array.isArray(messages)) throw new Error('messages array required')
|
||||
return messages.map((m) => this.sendToUi(m.channel, m.payload))
|
||||
}
|
||||
|
||||
getStats () {
|
||||
return platformStats(this._stats, PROTOCOL, this.snapshot())
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user