refactor(core): split out instance and route through workspaces (#19335)

This commit is contained in:
James Long
2026-03-27 11:51:21 -04:00
committed by GitHub
parent e528ed5d86
commit a76be695c7
8 changed files with 622 additions and 598 deletions
+2 -4
View File
@@ -4,12 +4,11 @@ import { streamSSE } from "hono/streaming"
import { Log } from "@/util/log"
import { BusEvent } from "@/bus/bus-event"
import { Bus } from "@/bus"
import { lazy } from "../../util/lazy"
import { AsyncQueue } from "../../util/queue"
const log = Log.create({ service: "server" })
export const EventRoutes = lazy(() =>
export const EventRoutes = () =>
new Hono().get(
"/event",
describeRoute({
@@ -81,5 +80,4 @@ export const EventRoutes = lazy(() =>
}
})
},
),
)
)