Skip to main content
Version: v2

LatestMapArgumentsRaw Interface

Arguments that are passed to the StateFactory.latestMap function.

Input

This type is "input," meaning that code outside of the library defining it should not read from it. Future versions of this type may add optional members or make typing of members more general.

Signature​

export interface LatestMapArgumentsRaw<T, Keys extends string = string>

Type Parameters​

ParameterConstraintDefaultDescription
T
Keysstringstring

Properties​

PropertyModifiersTypeDescription
localoptional{ [K in Keys]: JsonSerializable<T>; }The initial value of the local state.
settingsoptionalBroadcastControlSettings | undefinedSee BroadcastControlSettings.

Property Details​

local​

The initial value of the local state.

Signature​

local?: {
[K in Keys]: JsonSerializable<T>;
};

Type: { [K in Keys]: JsonSerializable<T>; }

settings​

See BroadcastControlSettings.

Signature​

settings?: BroadcastControlSettings | undefined;

Type: BroadcastControlSettings | undefined