Skip to main content

LatestMapRaw TypeAlias

State that provides a Map of latest known values from this client to others and read access to their values. Entries in the map may vary over time and by client, but all values are expected to be of the same type, which may be a union type.

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 type LatestMapRaw<T, Keys extends string = string> = LatestMap<T, Keys, RawValueAccessor<T>>;

Type Parameters

ParameterConstraintDefaultDescription
T
Keysstringstring

Remarks

Create using @fluidframework/presence#StateFactory.latestMap registered to StatesWorkspace.