WayrApp Backend & Ecosystem Documentation - v1.0.0
    Preparing search index...

    Variable startupManagerConst

    startupManager: StartupManager = ...

    Singleton instance of StartupManager for application-wide startup management.

    Pre-configured StartupManager instance that should be used throughout the application for consistent startup behavior. This singleton ensures that initialization, health checks, and shutdown procedures are coordinated across the entire application.

    // Import and use the singleton instance
    import { startupManager } from '@/shared/utils/startup';

    // Application startup
    await startupManager.initialize();

    // Health monitoring
    const isHealthy = await startupManager.healthCheck();

    // Graceful shutdown
    await startupManager.shutdown();