Skip to main content
Version: v1

ILocalValue Interface

A local value to be stored in a container type DDS.

Signature​

export interface ILocalValue

Properties​

PropertyTypeDescription
typestringType indicator of the value stored within.
valueanyThe in-memory value stored within.

Methods​

MethodReturn TypeDescription
makeSerialized(serializer, bind)ISerializedValueRetrieve the serialized form of the value stored within.

Property Details​

type​

Type indicator of the value stored within.

Signature​

readonly type: string;

Type: string

value​

The in-memory value stored within.

Signature​

readonly value: any;

Type: any

Method Details​

makeSerialized​

Retrieve the serialized form of the value stored within.

Signature​

makeSerialized(serializer: IFluidSerializer, bind: IFluidHandle): ISerializedValue;

Parameters​

ParameterTypeDescription
serializerIFluidSerializerData store runtime's serializer
bindIFluidHandleContainer type's handle

Returns​

The serialized form of the contained value

Return type: ISerializedValue