LatestData Interface
State of a value and its metadata.
To use, import via @fluidframework/presence/beta
.
For more information about our API support guarantees, see here.
This type is "sealed," meaning that code outside of the library defining it should not implement or extend it. Future versions of this type may add members or make typing of readonly members more specific.
Signature
/** @sealed */
export interface LatestData<T>
Type Parameters
Parameter | Description |
---|---|
T |
Properties
Property | Alerts | Type | Description |
---|---|---|---|
metadata | Beta |
LatestMetadata | Metadata associated with the value. |
value | Beta |
DeepReadonly<JsonDeserialized<T>> | The value of the state. |
Property Details
metadata
Metadata associated with the value.
For more information about our API support guarantees, see here.
This type is "sealed," meaning that code outside of the library defining it should not implement or extend it. Future versions of this type may add members or make typing of readonly members more specific.
Signature
metadata: LatestMetadata;
Type: LatestMetadata
value
The value of the state.
For more information about our API support guarantees, see here.
This type is "sealed," meaning that code outside of the library defining it should not implement or extend it. Future versions of this type may add members or make typing of readonly members more specific.
Signature
value: DeepReadonly<JsonDeserialized<T>>;
Type: DeepReadonly<JsonDeserialized<T>>
Remarks
This is a deeply readonly value, meaning it cannot be modified.