ICodeLoader Interface
Packages > @fluidframework/container-definitions > ICodeLoader
Code loading interface
Signature:
export interface ICodeLoader
Methods
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
Parameter | Type | Description |
---|---|---|
source | IFluidCodeDetails |
Returns:
Promise<IFluidModule>