Type alias ModuleLoader

ModuleLoader: ((url: string, moduleType?: string) => Promise<unknown>)

Type declaration

    • (url: string, moduleType?: string): Promise<unknown>
    • Parameters

      • url: string

        A URL pointing to a FeatureAppDefinition bundle in a module format compatible with the module loader.

      • Optional moduleType: string

        The module type of the FeatureAppDefinition bundle. This can be used to choose different loading strategies based on the module type of the Feature App.

      Returns Promise<unknown>

Generated using TypeDoc