Skip to main content
Version: v1

ILoaderServices Interface

Services and properties used by and exposed by the loader

Signature

export interface ILoaderServices

Properties

PropertyModifiersTypeDescription
codeLoaderICodeDetailsLoaderThe code loader handles loading the necessary code for running a container once it is loaded.
detachedBlobStorageoptionalIDetachedBlobStorageBlobs storage for detached containers.
documentServiceFactoryIDocumentServiceFactoryThe 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.
optionsILoaderOptionsA property bag of options used by various layers to control features
scopeFluidObjectScope is provided to all container and is a set of shared services for container's to integrate with their host environment.
subLoggerITelemetryLoggerThe logger downstream consumers should construct their loggers from
urlResolverIUrlResolverThe 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