Skip to main content
Version: v2

IContainerHostProps Interface

Host-level container loader properties — the code loader plus all the optional policy / observability fields that aren't tied to driver wiring.

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 IContainerHostProps

Remarks​

Extracted as a reusable building block so other props types (create, rehydrate, load, frozen-load) can compose it without duplicating the optional-fields surface.

Properties​

PropertyAlertsModifiersTypeDescription
allowReconnectBetaoptional, readonlyboolean | undefinedDisables the Container from reconnecting if false, allows reconnect otherwise.
clientDetailsOverrideBetaoptional, readonlyIClientDetails | undefinedClient details provided in the override will be merged over the default client.
codeLoaderBetareadonlyICodeDetailsLoaderThe code loader handles loading the necessary code for running a container once it is loaded.
configProviderBetaoptional, readonlyIConfigProviderBase | undefinedThe configuration provider which may be used to control features.
loggerBetaoptional, readonlyITelemetryBaseLogger | undefinedThe logger that all telemetry should be pushed to.
optionsBetaoptional, readonlyIContainerPolicies | undefinedA property bag of options/policies used by various layers to control features
protocolHandlerBuilderBetaoptional, readonlyProtocolHandlerBuilder | undefinedOptional property for allowing the container to use a custom protocol implementation for handling the quorum and/or the audience.
scopeBetaoptional, readonlyFluidObject | undefinedScope is provided to all container and is a set of shared services for container's to integrate with their host environment.

Property Details​

allowReconnect​

Disables the Container from reconnecting if false, allows reconnect otherwise.

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

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

Signature​

readonly allowReconnect?: boolean | undefined;

Type: boolean | undefined

clientDetailsOverride​

Client details provided in the override will be merged over the default client.

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

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

Signature​

readonly clientDetailsOverride?: IClientDetails | undefined;

Type: IClientDetails | undefined

codeLoader​

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

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

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 for existing users, but is not recommended for new users.

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

Signature​

readonly configProvider?: IConfigProviderBase | undefined;

Type: IConfigProviderBase | undefined

logger​

The logger that all telemetry should be pushed to.

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

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

Signature​

readonly logger?: ITelemetryBaseLogger | undefined;

Type: ITelemetryBaseLogger | undefined

options​

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

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

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

Signature​

readonly options?: IContainerPolicies | undefined;

Type: IContainerPolicies | undefined

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 for existing users, but is not recommended for new users.

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

Signature​

readonly protocolHandlerBuilder?: ProtocolHandlerBuilder | undefined;

Type: ProtocolHandlerBuilder | undefined

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 for existing users, but is not recommended for new users.

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

Signature​

readonly scope?: FluidObject | undefined;

Type: FluidObject | undefined