Skip to content 

ICodeLoader Interface

Packages > @fluidframework/container-definitions > ICodeLoader

Code loading interface

Signature:

export interface ICodeLoader 

Methods

List of methods of this class
Method Description
load(source) Loads the package specified by IPackage and returns a promise to its entry point exports.

Methods

load

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

Signature:

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

Parameters

List of parameters
Parameter Type Description
source IFluidCodeDetails

Returns:

Promise<IFluidModule>