Options
All
  • Public
  • Public/Protected
  • All
Menu

The FeatureAppManager manages the lifecycle of Feature Apps.

Hierarchy

  • FeatureAppManager

Index

Constructors

constructor

Methods

createFeatureAppScope

  • Create a FeatureAppScope which includes validating externals, binding all available Feature Service dependencies, and calling the create method of the FeatureAppDefinition.

    throws

    Throws an error if Feature Services that the FeatureAppDefinition provides with its ownFeatureServices key fail to be registered.

    throws

    Throws an error if the required externals can't be satisfied.

    throws

    Throws an error if the required Feature Services can't be satisfied.

    throws

    Throws an error the FeatureAppDefinition's create method throws.

    Type parameters

    Parameters

    • featureAppId: string
    • featureAppDefinition: FeatureAppDefinition<TFeatureApp, TFeatureServices, TConfig>

      The definition of the Feature App to create a scope for.

    • Default value options: FeatureAppScopeOptions<TFeatureServices, TConfig> = {}

    Returns FeatureAppScope<TFeatureApp>

    A FeatureAppScope for the provided Feature App ID and FeatureAppDefinition. A new scope is created for every call of createFeatureAppScope, even with the same ID and definiton.

getAsyncFeatureAppDefinition

preloadFeatureApp

  • preloadFeatureApp(url: string): Promise<void>

Legend

  • Module
  • Object literal
  • Variable
  • Function
  • Function with type parameter
  • Index signature
  • Type alias
  • Type alias with type parameter
  • Enumeration
  • Enumeration member
  • Property
  • Method
  • Interface
  • Interface with type parameter
  • Constructor
  • Property
  • Method
  • Index signature
  • Class
  • Class with type parameter
  • Constructor
  • Property
  • Method
  • Accessor
  • Index signature
  • Inherited constructor
  • Inherited property
  • Inherited method
  • Inherited accessor
  • Protected property
  • Protected method
  • Protected accessor
  • Private property
  • Private method
  • Private accessor
  • Static property
  • Static method

Generated using TypeDoc