Fetch result from completed task.
task_result(id, db, allow_incomplete = FALSE)
Single task identifier
Something that can be converted to a context db object (a database, root or context).
Should we avoid throwing an error if a task is not completed? Used internally, and not generally needed.