MCPcopy Create free account
hub / github.com/GCWing/BitFun / initializeInfrastructure

Function initializeInfrastructure

src/web-ui/src/infrastructure/index.ts:31–46  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

29const log = createLogger('Infrastructure');
30
31export async function initializeInfrastructure(): Promise<void> {
32 log.info('Initializing infrastructure systems');
33
34 try {
35 // Initialize configuration infrastructure
36 await initializeConfigInfrastructure();
37
38 // Notify that infrastructure is ready
39 globalEventBus.emit('infrastructure:ready');
40
41 log.info('Infrastructure systems initialized successfully');
42 } catch (error) {
43 log.error('Failed to initialize infrastructure systems', error);
44 throw error;
45 }
46}
47
48export async function destroyInfrastructure(): Promise<void> {
49 log.info('Shutting down infrastructure systems');

Callers

nothing calls this directly

Calls 4

emitMethod · 0.65
infoMethod · 0.45
errorMethod · 0.45

Tested by

no test coverage detected