code: public void addRepeatingTask(final Duration repeatEvery, final Runnable task) {
  
          repeatingTasks.add(new RepeatingTask(task, repeatEvery.getTimeUnit(), repeatEvery.getDuration()));
      }
docs: Add a task that gets repeated.
  
  @param repeatEvery repeat Every time period
  @param task        task to perform