async executeTask(task) {
    this.context.log.i('Scheduler executeTask: ' + util.inspect(task, { showHidden: true, depth: 6 }));
    switch (task.type) {
      case OrgTask.TASK_TYPES.reminder:
        await this.remind(task);
        break;
      default:
        break;
    }

    if (TimeArg.isRecurringDefinitions(task.time.definitions)) {
      this.scheduleTask(task);
    } else {
      this.deleteTask(task);
    }
  }
/**
   * Executes the task based on its type. Rechedules recurrent tasks on completion or deletes one-shot tasks.
   * @param  {OrgTask}  task the task to execute
   * @return {Promise}       nothing
   */
Executes the task based on its type. Rechedules recurrent tasks on completion or deletes one-shot tasks.
@param  {OrgTask}  task the task to execute
@return {Promise}       nothing
Executes the task based on its type . Rechedules recurrent tasks on completion or deletes one - shot tasks . @param { OrgTask } task the task to execute @return { Promise } nothing
async executeTask(task) {
    this.context.log.i('Scheduler executeTask: ' + util.inspect(task, { showHidden: true, depth: 6 }));
    switch (task.type) {
      case OrgTask.TASK_TYPES.reminder:
        await this.remind(task);
        break;
      default:
        break;
    }
    if (TimeArg.isRecurringDefinitions(task.time.definitions)) {
      this.scheduleTask(task);
    } else {
      this.deleteTask(task);
    }
  }
async executeTask ( task ) { this . context . log . i ( 'Scheduler executeTask: ' + util . inspect ( task , { showHidden : true , depth : 6 } ) ) ; switch ( task . type ) { case OrgTask . TASK_TYPES . reminder : await this . remind ( task ) ; break ; default : break ; } if ( TimeArg . isRecurringDefinitions ( task . time . definitions ) ) { this . scheduleTask ( task ) ; } else { this . deleteTask ( task ) ; } }
Executes the task based on its type.
Executes the task based on its type .