Skip to main content

ContainerRuntimeFactoryWithDefaultDataStore Class

A ContainerRuntimeFactory that initializes Containers with a single default data store, which can be requested from the container with an empty URL.

This factory should be exposed as fluidExport off the entry point to your module. \

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

To use, import via @fluidframework/aqueduct/legacy.

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

Signature

export declare class ContainerRuntimeFactoryWithDefaultDataStore extends BaseContainerRuntimeFactory

Extends: BaseContainerRuntimeFactory

Constructors

ConstructorAlertsDescription
(constructor)(props)BetaConstructs a new instance of the ContainerRuntimeFactoryWithDefaultDataStore class

Static Properties

PropertyAlertsModifiersTypeDescription
defaultDataStoreIdBetareadonly

Properties

PropertyAlertsModifiersTypeDescription
defaultFactoryBetareadonlyIFluidDataStoreFactory

Methods

MethodAlertsReturn TypeDescription
containerInitializingFirstTime(runtime)BetaPromise<void>Subclasses may override containerInitializingFirstTime to perform any setup steps at the time the container is created. This likely includes creating any initial data stores that are expected to be there at the outset.

Constructor Details

(constructor)

Constructs a new instance of the ContainerRuntimeFactoryWithDefaultDataStore class

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

constructor(props: ContainerRuntimeFactoryWithDefaultDataStoreProps);

Parameters

ParameterTypeDescription
propsContainerRuntimeFactoryWithDefaultDataStoreProps

Property Details

defaultDataStoreId

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

static readonly defaultDataStoreId = "default";

defaultFactory

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

protected readonly defaultFactory: IFluidDataStoreFactory;

Type: IFluidDataStoreFactory

Method Details

containerInitializingFirstTime

Subclasses may override containerInitializingFirstTime to perform any setup steps at the time the container is created. This likely includes creating any initial data stores that are expected to be there at the outset.

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

protected containerInitializingFirstTime(runtime: IContainerRuntime): Promise<void>;

Parameters

ParameterTypeDescription
runtimeIContainerRuntimeThe container runtime for the container being initialized

Returns

Return type: Promise<void>