IFluidDataStoreContextDetached Interface

Packages > @fluidframework/runtime-definitions > IFluidDataStoreContextDetached

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

To use, import via @fluidframework/runtime-definitions/legacy.

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

Signature

export interface IFluidDataStoreContextDetached extends IFluidDataStoreContext

Extends: IFluidDataStoreContext

Methods

Method Alerts Return Type Description
attachRuntime(factory, dataStoreRuntime) Alpha Promise<IDataStore> Binds a runtime to the context.

Method Details

attachRuntime

Binds a runtime to the context.

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

To use, import via @fluidframework/runtime-definitions/alpha.

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

Signature

attachRuntime(factory: IProvideFluidDataStoreFactory, dataStoreRuntime: IFluidDataStoreChannel): Promise<IDataStore>;

Parameters

Parameter Type Description
factory IProvideFluidDataStoreFactory
dataStoreRuntime IFluidDataStoreChannel

Returns

Return type: Promise<IDataStore >