Expand media, network-stack, pear-platform, and scheduling module APIs
Add batch helpers, clear/count utilities, and management methods across content protection, FEC, flow shaper, circuit loom, trust gate, peer scheduler, and related modules. Co-authored-by: Cursor <[email protected]>
This commit is contained in:
@@ -92,6 +92,16 @@ class HyperBareTargetMatrix extends EventEmitter {
|
||||
return this._targets.some((t) => t.id === id)
|
||||
}
|
||||
|
||||
resetToDefaults () {
|
||||
this._targets = [...DEFAULT_TARGETS]
|
||||
this.host = this._targets[0]?.id || 'darwin-arm64'
|
||||
return this.list()
|
||||
}
|
||||
|
||||
targetCount () {
|
||||
return this._targets.length
|
||||
}
|
||||
|
||||
getStats () {
|
||||
return platformStats(this._stats, PROTOCOL, {
|
||||
host: this.host,
|
||||
|
||||
Reference in New Issue
Block a user