Skip to main content
Version: v1

ICodeLoader Interface

Code loading interface

This API is deprecated and will be removed in a future release.

in favor of ICodeDetailsLoader

Signature

export interface ICodeLoader extends Partial<IProvideFluidCodeDetailsComparer>

Extends: Partial<IProvideFluidCodeDetailsComparer

Methods

Method Return Type Description
load(source) Promise<IFluidModule> Loads the package specified by code details and returns a promise to its entry point exports.

Method Details

load

Loads the package specified by code details and returns a promise to its entry point exports.

Signature

load(source: IFluidCodeDetails): Promise<IFluidModule>;

Parameters

Parameter Type Description
source IFluidCodeDetails

Returns

Return type: Promise<IFluidModule>