IFluidDataStoreContextDetached Interface
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) | Beta |
Promise<IDataStore> | Binds a runtime to the context. |
Method Details
attachRuntime
Binds a runtime to the context.
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
attachRuntime(factory: IProvideFluidDataStoreFactory, dataStoreRuntime: IFluidDataStoreChannel): Promise<IDataStore>;
Parameters
| Parameter | Type | Description |
|---|---|---|
| factory | IProvideFluidDataStoreFactory | |
| dataStoreRuntime | IFluidDataStoreChannel |
Returns
Return type: Promise<IDataStore>