ILoader Interface

Packages > @fluidframework/container-definitions > ILoader

The Runtime’s view of the Loader, used for loading Containers

Signature:

export interface ILoader extends IFluidRouter 

Extends: IFluidRouter

Methods

List of methods of this class
Method Description
resolve(request, pendingLocalState) Resolves the resource specified by the URL + headers contained in the request object to the underlying container that will resolve the request.An analogy for this is resolve is a DNS resolve of a Fluid container. Request then executes a request against the server found from the resolve step.

Methods

resolve

Resolves the resource specified by the URL + headers contained in the request object to the underlying container that will resolve the request.

An analogy for this is resolve is a DNS resolve of a Fluid container. Request then executes a request against the server found from the resolve step.

Signature:

resolve(request: IRequest, pendingLocalState?: string): Promise<IContainer>;

Parameters

List of parameters
Parameter Type Description
request IRequest
pendingLocalState string

Returns:

Promise<IContainer>