addTaskLast

fun addTaskLast(@NotNull newTask: Task)

Add a task to the run queue, but after onReady has processed tasks. This is useful to call when working with tasks that should be queued at the very end of the autonomous, while still being able to add tasks asynchronously with user input in onReady.

Parameters

newTask

task to add to the run queue