timerCancel static method

void timerCancel(
  1. Function callback
)

Implementation

static void timerCancel(Function callback) {
  // TODO: what if timerCancel is called from another timer of group?
  var existTf = _functionsMap[callback];

  if (existTf != null) {
    existTf.remove(callback);
  }
}