code: public void runTask(Handler<Task> task) {
      if (currentTask == null) {
        currentTask = new Task(this);
        task.handle(currentTask);
      } else {
        queue.add(task);
      }
    }
docs: Runs a sequential task.
  
  @param task A handler to be called once the task is started.