setMaxSimTime static method

void setMaxSimTime(
  1. int newMaxSimTime
)

Sets a time, after which, the Simulator will halt processing of new actions.

You should set this for your simulations so that you don't get infinite simulation.

Implementation

// ignore: use_setters_to_change_properties
static void setMaxSimTime(int newMaxSimTime) {
  _maxSimTime = newMaxSimTime;
}