Expand scheduling, supercomputer, indexes, and messaging module APIs.

Add batch helpers, lease timing, registry clears, and event-bus publish utilities for consistent management surfaces.

Co-authored-by: Cursor <[email protected]>
This commit is contained in:
Raven Scott
2026-05-21 03:24:36 -04:00
co-authored by Cursor
parent dec3956846
commit 161865c98d
11 changed files with 109 additions and 5 deletions
@@ -109,6 +109,15 @@ class HyperP2PCacheFarm extends EventEmitter {
return n
}
clearAll () {
return this.clear()
}
invalidateBatch (keys) {
if (!Array.isArray(keys)) throw new Error('keys array required')
return keys.map((k) => this.invalidate(k))
}
warmBatch (entries) {
if (!Array.isArray(entries)) throw new Error('entries array required')
let n = 0