AppEnvironment
public enum AppEnvironment : String, Codable, Sendable
Represents the runtime environment configuration for the application.
Used to distinguish between production, staging, and development environments.
Conforms to Codable
for persistence and Sendable
for concurrency safety.
-
The production environment, used for live deployments with real users.
Declaration
Swift
case production
-
The staging environment, typically used for pre-production testing and QA.
Declaration
Swift
case staging
-
The development environment, used for local development and testing.
Declaration
Swift
case development