IFluidDataStoreContextDetached Interface
WARNING: This API is provided as an alpha preview and may change without notice. Use at your own risk.
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.
WARNING: This API is provided as an alpha preview and may change without notice. Use at your own risk.
Signature
attachRuntime(factory: IProvideFluidDataStoreFactory, dataStoreRuntime: IFluidDataStoreChannel): Promise<IDataStore>;
Parameters
Parameter | Type | Description |
---|---|---|
factory | IProvideFluidDataStoreFactory | |
dataStoreRuntime | IFluidDataStoreChannel |
Returns
Return type: Promise<IDataStore>