code: public void runNextPendingCommand() {
          ScheduledTask<?> scheduledTask = deltaQueue.pop();
          
          scheduledTask.run();
          
          if (!scheduledTask.isCancelled() && scheduledTask.repeats()) {
              deltaQueue.add(scheduledTask.repeatDelay, scheduledTask);
          }
      }
docs: Runs the next command scheduled to be executed immediately.