@pulumi/pulumi - v3.256.0
    Preparing search index...

    Function recover

    • Returns an Output that yields the Output's value, or — if the Output faulted with an error — the value produced by calling func with the error.

      Once recovered, the original failure is considered handled and will not be reported as an unhandled rejection at program exit. func is only invoked when this Output fails.

      Type Parameters

      • T

      Parameters

      Returns Output<T>