createComputations4to1 function

void createComputations4to1(
  1. int n,
  2. List<ISignal<int>> sources,
  3. ReactiveFramework framework
)

Implementation

void createComputations4to1(
  int n,
  List<ISignal<int>> sources,
  ReactiveFramework framework,
) {
  for (var i = 0; i < n; i++) {
    createComputation4(
      sources[i * 4].read,
      sources[i * 4 + 1].read,
      sources[i * 4 + 2].read,
      sources[i * 4 + 3].read,
      framework,
    );
  }
}