Sometimes you may want to have an async APP_INITIALIZER that needs to be resolved before bootstrapping. For example in a WebWorker you may want to receive some values from the UI (such as the browser location or history) before the app bootstraps. This is distinct from bootstrapping with asyncApplication because the DI providers are not themselves asynchronous, but rather some async work must be done after the providers are set up.
CC @vsavkin
Sometimes you may want to have an async APP_INITIALIZER that needs to be resolved before bootstrapping. For example in a WebWorker you may want to receive some values from the UI (such as the browser location or history) before the app bootstraps. This is distinct from bootstrapping with
asyncApplicationbecause the DI providers are not themselves asynchronous, but rather some async work must be done after the providers are set up.CC @vsavkin