Skip to content

You're viewing documentation for a pre-release version. View the latest stable version

Enumeration

Application.State

Where the application is in its lifecycle.
enum State

Topics

Enumeration Cases

  • case booted
    Booted, and still accepting configuration: the freeze happens at start, so a provider’s didBoot may register middleware, routes or services.
  • case booting
    Running the willBoot and didBoot lifecycle handlers.
  • case configuring
    Built, and accepting configuration.
  • case shutdown
    Shut down. Terminal.
  • case shuttingDown
    Running the shutdown lifecycle handlers.
  • case started
    The services are running.
  • case starting
    Configuration has been frozen and the services are coming up.

Instance Properties

Relationships

Conforms To

  • Swift.CustomStringConvertible
  • Swift.Equatable
  • Swift.Hashable
  • Swift.Sendable
  • Swift.SendableMetatype