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:
@@ -104,6 +104,11 @@ class HyperP2PPhaseShiftClock extends EventEmitter {
|
||||
return { phaseMs: this._phaseMs, peers: this.peerPhases() }
|
||||
}
|
||||
|
||||
shiftBatch (entries) {
|
||||
if (!Array.isArray(entries)) throw new Error('entries array required')
|
||||
return entries.map((e) => this.shift(e.phaseMs))
|
||||
}
|
||||
|
||||
_gossip (data) {
|
||||
if (!this._peerMsgs) return
|
||||
gossipSend(this, data)
|
||||
|
||||
Reference in New Issue
Block a user