Skip to main content

ILoaderProps Interface

Services and properties necessary for creating a loader

This API is provided for existing users, but is not recommended for new users.

To use, import via @fluidframework/container-loader/legacy.

For more information about our API support guarantees, see here.

Signature

export interface ILoaderProps

Properties

Property Alerts Modifiers Type Description
codeLoader Alpha readonly ICodeDetailsLoader The code loader handles loading the necessary code for running a container once it is loaded.
configProvider Alpha optional, readonly IConfigProviderBase The configuration provider which may be used to control features.
detachedBlobStorage Alpha optional, readonly IDetachedBlobStorage Blobs storage for detached containers.
documentServiceFactory Alpha readonly 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.
logger Alpha optional, readonly ITelemetryBaseLogger The logger that all telemetry should be pushed to.
options Alpha optional, readonly ILoaderOptions A property bag of options used by various layers to control features
protocolHandlerBuilder Alpha optional, readonly ProtocolHandlerBuilder Optional property for allowing the container to use a custom protocol implementation for handling the quorum and/or the audience.
scope Alpha optional, readonly FluidObject Scope is provided to all container and is a set of shared services for container's to integrate with their host environment.
urlResolver Alpha readonly 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.

This API is provided as an alpha preview and may change without notice.

To use, import via @fluidframework/container-loader/alpha.

For more information about our API support guarantees, see here.

Signature

readonly codeLoader: ICodeDetailsLoader;

Type: ICodeDetailsLoader

configProvider

The configuration provider which may be used to control features.

This API is provided as an alpha preview and may change without notice.

To use, import via @fluidframework/container-loader/alpha.

For more information about our API support guarantees, see here.

Signature

readonly configProvider?: IConfigProviderBase;

Type: IConfigProviderBase

detachedBlobStorage

Blobs storage for detached containers.

This API is provided as an alpha preview and may change without notice.

To use, import via @fluidframework/container-loader/alpha.

For more information about our API support guarantees, see here.

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.

This API is provided as an alpha preview and may change without notice.

To use, import via @fluidframework/container-loader/alpha.

For more information about our API support guarantees, see here.

Signature

readonly documentServiceFactory: IDocumentServiceFactory;

Type: IDocumentServiceFactory

logger

The logger that all telemetry should be pushed to.

This API is provided as an alpha preview and may change without notice.

To use, import via @fluidframework/container-loader/alpha.

For more information about our API support guarantees, see here.

Signature

readonly logger?: ITelemetryBaseLogger;

Type: ITelemetryBaseLogger

options

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

This API is provided as an alpha preview and may change without notice.

To use, import via @fluidframework/container-loader/alpha.

For more information about our API support guarantees, see here.

Signature

readonly options?: ILoaderOptions;

Type: ILoaderOptions

protocolHandlerBuilder

Optional property for allowing the container to use a custom protocol implementation for handling the quorum and/or the audience.

This API is provided as an alpha preview and may change without notice.

To use, import via @fluidframework/container-loader/alpha.

For more information about our API support guarantees, see here.

Signature

readonly protocolHandlerBuilder?: ProtocolHandlerBuilder;

Type: ProtocolHandlerBuilder

scope

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

This API is provided as an alpha preview and may change without notice.

To use, import via @fluidframework/container-loader/alpha.

For more information about our API support guarantees, see here.

Signature

readonly scope?: FluidObject;

Type: FluidObject

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.

This API is provided as an alpha preview and may change without notice.

To use, import via @fluidframework/container-loader/alpha.

For more information about our API support guarantees, see here.

Signature

readonly urlResolver: IUrlResolver;

Type: IUrlResolver