Skip to main content

LatestMapClientData Interface

Collection of latest known values for a specific Attendee.

This API is provided as a beta preview and may change without notice.

To use, import via @fluidframework/presence/beta.

For more information about our API support guarantees, see here.

Sealed

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 LatestMapClientData<T, Keys extends string | number, TValueAccessor extends ValueAccessor<T>, SpecificAttendeeId extends AttendeeId = AttendeeId>

Type Parameters

Parameter Constraint Default Description
T
Keys string | number
TValueAccessor ValueAccessor<T>
SpecificAttendeeId AttendeeId AttendeeId

Properties

Property Alerts Type Description
attendee Beta Attendee<SpecificAttendeeId> Associated Attendee.
items Beta ReadonlyMap<Keys, LatestData<T, TValueAccessor>> Map of items for the state.

Property Details

attendee

Associated Attendee.

This API is provided as a beta preview and may change without notice.

For more information about our API support guarantees, see here.

Sealed

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
attendee: Attendee<SpecificAttendeeId>;

Type: Attendee<SpecificAttendeeId>

items

Map of items for the state.

This API is provided as a beta preview and may change without notice.

For more information about our API support guarantees, see here.

Sealed

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
items: ReadonlyMap<Keys, LatestData<T, TValueAccessor>>;

Type: ReadonlyMap<Keys, LatestData<T, TValueAccessor>>