Propagate a Result to another task via its Work context
If the result is a CancelResult, the task will throw with a CancelError. Otherwise it is resolved or rejected according to the state of the result.
The Work to complete. If it's already completed or canceled, nothing changes: the result is not propagated and the error (if any) is not marked as handled.
The result you want to settle the work's Task with. If the result is an error, it is marked as handled.
Propagate a Result to another task via its Work context
If the result is a CancelResult, the task will throw with a CancelError. Otherwise it is resolved or rejected according to the state of the result.