updateComputations1to2 function
Implementation
void updateComputations1to2(
int n,
List<Signal<int>> sources,
ReactiveFramework framework,
) {
int Function() get1 = sources[0].read;
void Function(int) set1 = sources[0].write;
framework.computed(() => get1());
framework.computed(() => get1());
for (var i = 0; i < n ~/ 2; i++) {
set1(i);
}
}