PresenceStatesEntries TypeAlias
Map of Value Manager
s registered with PresenceStates.
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 type PresenceStatesEntries<TSchema extends PresenceStatesSchema> = {
/**
* Registered `Value Manager`s
*/
readonly [Key in keyof TSchema]: ReturnType<TSchema[Key]>["manager"] extends InternalTypes.StateValue<infer TManager> ? TManager : never;
};
Type Parameters
Parameter | Constraint | Description |
---|---|---|
TSchema | PresenceStatesSchema |