tasks
In the previous section, we saw that tasks needs to have two parameters: tasks
, and hooks
:
Both are critical for Prism to run, and Prism will throw an error if it finds a task without both parameters.
tasks
is an instance of the prism.infra.task_manager.TaskManager
class. At the moment this class has the following functions (see the API reference for more information):
tasks.ref()
: for referencing the output of other tasks in your project
Next, we'll cover exactly what these functions do.