IProxyLoaderFactory Interface

Packages > @fluidframework/container-definitions > IProxyLoaderFactory

Abstraction layer to support different Loaders in different Node execution contexts

Signature:

export interface IProxyLoaderFactory 

Properties

List of properties of this interface
Property Type Description
environment string Loader environment

Methods

List of methods of this class
Method Description
createProxyLoader(id, options, resolved, fromSequenceNumber) Returns an instance of ILoader loaded inside an execution context.

Events

environment

Loader environment

Signature:

environment: string;

Methods

createProxyLoader

Returns an instance of ILoader loaded inside an execution context.

Signature:

createProxyLoader(id: string, options: ILoaderOptions, resolved: IFluidResolvedUrl, fromSequenceNumber: number): Promise<ILoader>;

Parameters

List of parameters
Parameter Type Description
id string
options ILoaderOptions
resolved IFluidResolvedUrl
fromSequenceNumber number

Returns:

Promise<ILoader>