Adds a task to the queue that will be executed the next time run is called.
public function add(callable $task) : void;