message: Runtime V2 - typo
diff: @@ -9,7 +9,7 @@ class CronService {
  this.options = options;
  this.id = id;
  this.eventConfigurations = {};
  - this.cancalables = {}
  + this.cancelables = {}
  this.started = false;
  }
  @@ -20,41 +20,41 @@ class CronService {
  event_id = `CRON/${options.interval}/${this.id}`
  }
  - let event = new EventConfiguration(event_id, this, options);
  + const event = new EventConfiguration(event_id, this, options);
  this.eventConfigurations[event.id] = event;
  // lazy run if already running
  if(this.started){
  const timeoutObj = setInterval(() => {
  this.app.handleEvent(event.id);
  }, event.options.interval);
  - this.cancalables[event.id] = timeoutObj;
  + this.cancelables[event.id] = timeoutObj;
  }
  return event;
  }
  removeEvent(event){
  delete this.eventConfigurations[event.id];
  - clearInterval(this.cancalables[event.id]);
  + clearInterval(this.cancelables[event.id]);
  }
  start(app) {
  this.app = app;
  if(!this.started){
  for (const index in this.eventConfigurations) {
  - let eventConfiguration = this.eventConfigurations[index];
  + const eventConfiguration = this.eventConfigurations[index];
  const timeoutObj = setInterval(() => {
  this.app.handleEvent(eventConfiguration.id);
  }, eventConfiguration.options.interval);
  - this.cancalables[eventConfiguration.id] = timeoutObj;
  + this.cancelables[eventConfiguration.id] = timeoutObj;
  }
  }
  this.started = true;
  }
  stop() {
  - for (const index in this.cancalables) {
  - let cancalable = this.cancalables[index]
  - clearInterval(cancalable);
  + for (const index in this.cancelables) {
  + const cancelable = this.cancelables[index]
  + clearInterval(cancelable);
  }
  }
  