server: broker embedded runtime subscriptions

This commit is contained in:
2026-08-01 19:23:49 +09:00
parent 42c69f9f6c
commit f46c82d171
4 changed files with 198 additions and 11 deletions
+4
View File
@@ -1427,6 +1427,10 @@ impl EmbeddedWorkerRuntime {
self
}
pub(crate) fn subscription_runtime(&self) -> worker_runtime::Runtime {
self.runtime.clone()
}
pub fn from_runtime(workspace_id: impl AsRef<str>, runtime: worker_runtime::Runtime) -> Self {
let workspace_id = workspace_id.as_ref().to_string();
Self {