feat: add AppRuntime for unified service composition (#21953)

This commit is contained in:
Kit Langton
2026-04-10 19:46:52 -04:00
committed by GitHub
parent f2c492a8e6
commit cf27a73397
7 changed files with 107 additions and 5 deletions

View File

@@ -169,6 +169,8 @@ export namespace Bus {
}),
)
export const defaultLayer = layer
const { runPromise, runSync } = makeRuntime(Service, layer)
// runSync is safe here because the subscribe chain (InstanceState.get, PubSub.subscribe,