Skip to main content
Version: v1

IDataObjectProps Interface

Signature

export interface IDataObjectProps<I extends DataObjectTypes = DataObjectTypes>

Type Parameters

ParameterConstraintDefaultDescription
IDataObjectTypesDataObjectTypes

Properties

PropertyModifiersTypeDescription
contextIFluidDataStoreContext
initPropsoptionalI["InitialState"]
providersAsyncFluidObjectProvider<I["OptionalProviders"]>
runtimeIFluidDataStoreRuntime

Property Details

context

Signature

readonly context: IFluidDataStoreContext;

Type: IFluidDataStoreContext

initProps

Signature

readonly initProps?: I["InitialState"];

Type: I["InitialState"]

providers

Signature

readonly providers: AsyncFluidObjectProvider<I["OptionalProviders"]>;

Type: AsyncFluidObjectProvider<I["OptionalProviders"]>

runtime

Signature

readonly runtime: IFluidDataStoreRuntime;

Type: IFluidDataStoreRuntime