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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user