Previous: Handling Errors
Next: Derived State
Tasks can call other tasks by await
ing the
result of anotherTask.perform()
. When this happens,
the Parent task will wait for the Child task to complete before
proceeding. If the Parent task is canceled, the Child task will
automatically be canceled as well.
Previous: Handling Errors
Next: Derived State