- connectValues<T1, T2>(__namedParameters: {
backward: ((primary: Value<T1>, secondary: Value<T2>) => T1);
forward: ((primary: Value<T1>, secondary: Value<T2>) => T2);
primary: Value<T1>;
secondary: Value<T2>;
}): void
-
Parameters
-
__namedParameters: {
backward: ((primary: Value<T1>, secondary: Value<T2>) => T1);
forward: ((primary: Value<T1>, secondary: Value<T2>) => T2);
primary: Value<T1>;
secondary: Value<T2>;
}
-
backward: ((primary: Value<T1>, secondary: Value<T2>) => T1)
-
- (primary: Value<T1>, secondary: Value<T2>): T1
-
Returns T1
-
forward: ((primary: Value<T1>, secondary: Value<T2>) => T2)
-
- (primary: Value<T1>, secondary: Value<T2>): T2
-
Returns T2
-
primary: Value<T1>
-
secondary: Value<T2>
Returns void
Synchronizes two values.