ILocalValue Interface
A local value to be stored in a container type DDS.
Signature
export interface ILocalValue
Properties
Property | Type | Description |
---|---|---|
type | string | Type indicator of the value stored within. |
value | any | The in-memory value stored within. |
Methods
Method | Return Type | Description |
---|---|---|
makeSerialized(serializer, bind) | ISerializedValue | Retrieve 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
Parameter | Type | Description |
---|---|---|
serializer | IFluidSerializer | Data store runtime's serializer |
bind | IFluidHandle | Container type's handle |
Returns
The serialized form of the contained value
Return type: ISerializedValue