Move engineStreamMachine as a global actor; tons of more work

This commit is contained in:
lee-at-zoo-corp
2025-03-18 20:06:36 -04:00
parent deb83cf62c
commit 2a60efc5ab
11 changed files with 92 additions and 536 deletions

View File

@ -841,7 +841,9 @@ class EngineConnection extends EventTarget {
// Bust the cache before anything
;(async () => {
await clearSceneAndBustCache(kclManager.engineCommandManager)
await rustContext.clearSceneAndBustCache(
kclManager.engineCommandManager.settings
)
})().catch(reportRejection)
this.dispatchEvent(
@ -1395,8 +1397,6 @@ export class EngineCommandManager extends EventTarget {
height: 1337,
}
elVideo: HTMLVideoElement | null = null
_commandLogCallBack: (command: CommandLog[]) => void = () => {}
subscriptions: {