napStartTimer method

void napStartTimer (
  1. covariant Rocket sm,
  2. SamReq req
)

Handler when model enters RK.ssCounting or RK.ssWaiting state.

The timer is restarted. This is an example of mutating non-SamHot values inside the SamModel.present execution scope.

Refer to napPrepReady.

Implementation

void napStartTimer(covariant Rocket sm,SamReq req) {
  if(sm.bLog)log("fnStartTimer $sm");
  sm._timer.reset();
}