isolateFuncTwo method

void isolateFuncTwo(
  1. bool condition
)

TODO teamDev Future make some return-value and isolate..in next version purpose: roll function inside isolate nothing isolate here yet

Implementation

void isolateFuncTwo(bool condition) {
  bool _condition = condition;
  int i = 0;
  //  runs 5x  if  false
  do {
    // backdoor out:
    i++;
    if (i == 5) _condition = true;
  } while (!_condition);
}