Known application modes. The mode defines how far the application intends to
go within its lifecycle and is declared upfront when creating the app.
'run' The app is booting in order to run. It will be taken all the way to
the 'ready' state and the long running side-effects registered by the
providers (HTTP server, queue workers, and so on) are expected to kick in.
'warmup' The app is booting only to be assembled and inspected. It will stop at
the 'warmed' state and app.start may not be called on it.
Providers must use the mode to skip their side-effects. They must never
use it to register different bindings, since the inspected app has to
match the app that runs.
Known application modes. The mode defines how far the application intends to go within its lifecycle and is declared upfront when creating the app.
'run' The app is booting in order to run. It will be taken all the way to the 'ready' state and the long running side-effects registered by the providers (HTTP server, queue workers, and so on) are expected to kick in.
'warmup' The app is booting only to be assembled and inspected. It will stop at the 'warmed' state and
app.startmay not be called on it.