Documentation
    Preparing search index...

    The ProvidersManager class is used to resolve, import and execute lifecycle methods on registered providers.

    The class relies on "import.meta.resolve" to resolve the provider modules from the root of the application.

    Also, a single instance of the provider is used to execute all the hooks.

    Index

    Constructors

    Methods

    • Invoke register method on the providers.

      Returns Promise<void>

      Promise that resolves when all providers are registered

    • Invoke boot method on the providers. The existing providers instances are used.

      Returns Promise<void>

      Promise that resolves when all providers are booted

    • Invoke start method on all the providers

      Returns Promise<void>

      Promise that resolves when all providers are started

    • Invoke ready method on all the providers

      Returns Promise<void>

      Promise that resolves when all providers are ready

    • Invoke shutdown method on all the providers

      Parameters

      • inReverseOrder: boolean

        Whether to shutdown providers in reverse order

      Returns Promise<void>

      Promise that resolves when all providers are shutdown