ITestFluidObject Interface
Signature
export interface ITestFluidObject extends IProvideTestFluidObject, IFluidLoadable
Extends: IProvideTestFluidObject, IFluidLoadable
Properties
| Property | Type | Description |
|---|---|---|
| channel | IFluidDataStoreChannel | |
| context | IFluidDataStoreContext | |
| root | ISharedMap | |
| runtime | IFluidDataStoreRuntime |
Methods
| Method | Return Type | Description |
|---|---|---|
| getSharedObject(id) | Promise<T> |
Property Details
channel
Signature
readonly channel: IFluidDataStoreChannel;
Type: IFluidDataStoreChannel
context
Signature
readonly context: IFluidDataStoreContext;
Type: IFluidDataStoreContext
root
Signature
root: ISharedMap;
Type: ISharedMap
runtime
Signature
readonly runtime: IFluidDataStoreRuntime;
Type: IFluidDataStoreRuntime
Method Details
getSharedObject
Signature
getSharedObject<T = any>(id: string): Promise<T>;
Type Parameters
| Parameter | Default | Description |
|---|---|---|
| T | any |
Parameters
| Parameter | Type | Description |
|---|---|---|
| id | string |
Returns
Return type: Promise<T>