New Base func
This commit is contained in:
+10
@@ -0,0 +1,10 @@
|
||||
import { loadExtensions } from '@/lib/extensions/loader'
|
||||
|
||||
/**
|
||||
* Ensure the system is initialized (extensions loaded).
|
||||
* Called from API routes that emit events.
|
||||
* Idempotent — safe to call multiple times.
|
||||
*/
|
||||
export function ensureInitialized(): void {
|
||||
loadExtensions()
|
||||
}
|
||||
Reference in New Issue
Block a user