Chore: Implement Server Adapters & Request Manager

This commit is contained in:
Youwes09
2026-05-22 20:44:55 -05:00
parent 8cef74bb98
commit c891cb349c
12 changed files with 662 additions and 330 deletions
+12
View File
@@ -0,0 +1,12 @@
import type { ServerAdapter } from '$lib/server-adapters/types'
let adapter: ServerAdapter
export function initRequestManager(a: ServerAdapter) {
adapter = a
}
export function getAdapter(): ServerAdapter {
if (!adapter) throw new Error('RequestManager not initialized')
return adapter
}