LatestMapValueManagerEvents Interface
To use, import via @fluidframework/presence/alpha
.
For more information about our API support guarantees, see here.
Signature
/** @sealed */
export interface LatestMapValueManagerEvents<T, K extends string | number>
Type Parameters
Parameter | Constraint | Description |
---|---|---|
T | ||
K | string | number |
Events
Property | Alerts | Type | Description |
---|---|---|---|
itemRemoved | Alpha |
(removedItem: LatestMapItemRemovedClientData<K>) => void | Raised when specific item is removed. |
itemUpdated | Alpha |
(updatedItem: LatestMapItemValueClientData<T, K>) => void | Raised when specific item's value is updated. |
updated | Alpha |
(updates: LatestMapValueClientData<T, K>) => void | Raised when any item's value for remote client is updated. |
Event Details
itemRemoved
Raised when specific item is removed.
To use, import via @fluidframework/presence/alpha
.
For more information about our API support guarantees, see here.
Signature
itemRemoved: (removedItem: LatestMapItemRemovedClientData<K>) => void;
Type: (removedItem: LatestMapItemRemovedClientData<K>) => void
itemUpdated
Raised when specific item's value is updated.
To use, import via @fluidframework/presence/alpha
.
For more information about our API support guarantees, see here.
Signature
itemUpdated: (updatedItem: LatestMapItemValueClientData<T, K>) => void;
Type: (updatedItem: LatestMapItemValueClientData<T, K>) => void
updated
Raised when any item's value for remote client is updated.
To use, import via @fluidframework/presence/alpha
.
For more information about our API support guarantees, see here.
Signature
updated: (updates: LatestMapValueClientData<T, K>) => void;
Type: (updates: LatestMapValueClientData<T, K>) => void
Remarks
The event does not include item removals.