ITestFluidObject Interface

Packages > @fluidframework/test-utils > ITestFluidObject

Signature:

export interface ITestFluidObject extends IProvideTestFluidObject, IFluidLoadable 

Extends: IProvideTestFluidObject, IFluidLoadable

Properties

List of properties of this interface
Property Type Description
channel IFluidDataStoreChannel
context IFluidDataStoreContext
root ISharedMap
runtime IFluidDataStoreRuntime

Methods

List of methods of this class
Method Description
getSharedObject(id)

Events

channel

Signature:

readonly channel: IFluidDataStoreChannel;

context

Signature:

readonly context: IFluidDataStoreContext;

root

Signature:

root: ISharedMap;

runtime

Signature:

readonly runtime: IFluidDataStoreRuntime;

Methods

getSharedObject

Signature:

getSharedObject<T = any>(id: string): Promise<T>;

Parameters

List of parameters
Parameter Type Description
id string

Returns:

Promise<T>