Skip to content

Allow Asynchronous APP_INITIALIAZER #5929

Description

@jteplitz

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions