Skip to main content

LatestValueControls Interface

Common controls for the Latest* Value Managers.

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

export interface LatestValueControls

Properties

Property Alerts Default Value Type Description
allowableUpdateLatency Alpha number Maximum time in milliseconds that a local value update is allowed to remain pending before it must be broadcast.
forcedRefreshInterval Alpha 0 number Target time in milliseconds between oldest changed local state has been broadcast and forced rebroadcast of all local values. A value of less than 10 disables forced refresh.

Property Details

allowableUpdateLatency

Maximum time in milliseconds that a local value update is allowed to remain pending before it must be broadcast.

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

allowableUpdateLatency: number;

Type: number

Remarks

There is no guarantee of broadcast within time allowed as other conditions such as disconnect or service throttling may cause a delay.

forcedRefreshInterval

Target time in milliseconds between oldest changed local state has been broadcast and forced rebroadcast of all local values. A value of less than 10 disables forced refresh.

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

forcedRefreshInterval: number;

Type: number