LatestData Interface
State of a value and its metadata.
This API is provided as an alpha preview and may change without notice.
To use, import via @fluidframework/presence/alpha
.
For more information about our API support guarantees, see here.
Signature
/** @sealed */
export interface LatestData<T>
Type Parameters
Parameter | Description |
---|---|
T |
Properties
Property | Alerts | Type | Description |
---|---|---|---|
metadata | Alpha |
LatestMetadata | |
value | Alpha |
DeepReadonly<JsonDeserialized<T>> |
Property Details
metadata
This API is provided as an alpha preview and may change without notice.
For more information about our API support guarantees, see here.
Signature
metadata: LatestMetadata;
Type: LatestMetadata
value
This API is provided as an alpha preview and may change without notice.
For more information about our API support guarantees, see here.
Signature
value: DeepReadonly<JsonDeserialized<T>>;
Type: DeepReadonly<JsonDeserialized<T>>