Uneventful
    Preparing search index...
    • 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.

      Type Parameters

      • T

      Parameters

      • work: Work<T>

        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.

      • res: Result<T>

        The result you want to settle the work's Task with. If the result is an error, it is marked as handled.

      Returns void