Packages > @fluidframework/container-loader > ILoaderServices

ILoaderServices Interface

Services and properties used by and exposed by the loader

Signature

export interface ILoaderServices

Properties

Property Modifiers Type Description
codeLoader ICodeDetailsLoader The code loader handles loading the necessary code for running a container once it is loaded.
detachedBlobStorage optional IDetachedBlobStorage Blobs storage for detached containers.
documentServiceFactory IDocumentServiceFactory The document service factory take the Fluid url provided by the resolved url and constructs all the necessary services for communication with the container's server.
options ILoaderOptions A property bag of options used by various layers to control features
scope FluidObject Scope is provided to all container and is a set of shared services for container's to integrate with their host environment.
subLogger ITelemetryLogger The logger downstream consumers should construct their loggers from
urlResolver IUrlResolver The url resolver used by the loader for resolving external urls into Fluid urls such that the container specified by the external url can be loaded.

Property Details

codeLoader

The code loader handles loading the necessary code for running a container once it is loaded.

Signature

readonly codeLoader: ICodeDetailsLoader;

Type: ICodeDetailsLoader

detachedBlobStorage

Blobs storage for detached containers.

Signature

readonly detachedBlobStorage?: IDetachedBlobStorage;

Type: IDetachedBlobStorage

documentServiceFactory

The document service factory take the Fluid url provided by the resolved url and constructs all the necessary services for communication with the container’s server.

Signature

readonly documentServiceFactory: IDocumentServiceFactory;

Type: IDocumentServiceFactory

options

A property bag of options used by various layers to control features

Signature

readonly options: ILoaderOptions;

Type: ILoaderOptions

scope

Scope is provided to all container and is a set of shared services for container’s to integrate with their host environment.

Signature

readonly scope: FluidObject;

Type: FluidObject

subLogger

The logger downstream consumers should construct their loggers from

Signature

readonly subLogger: ITelemetryLogger;

Type: ITelemetryLogger

urlResolver

The url resolver used by the loader for resolving external urls into Fluid urls such that the container specified by the external url can be loaded.

Signature

readonly urlResolver: IUrlResolver;

Type: IUrlResolver