Run a declarative function as a task and add it to the track. Must not be called within another declarative function.
The track to add the task to.
The declarative function to run as a task.
The duration of the task. Can be Infinity for infinite duration.
A Task object that can be suspended and resumed.
Run a declarative function as a task and add it to the track. Must not be called within another declarative function.