Edit doc comment (#7215)

* Edit doc comment

* Fix invalid XML
This commit is contained in:
Anton Tayanovskyy 2021-06-07 13:02:16 -04:00 committed by GitHub
parent eeb6f6237d
commit add5ea1d53
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -7,7 +7,7 @@ namespace Pulumi.Utilities
{
/// <summary>
/// Allows extracting some internal insights about an instance of
/// <see cref="Output{T}"/>.
/// <see cref="Output{T}"/>.
/// </summary>
public static class OutputUtilities
{
@ -25,8 +25,15 @@ namespace Pulumi.Utilities
/// <summary>
/// Retrieve the value of the given output.
/// Note: generally, this should never be used in combination with await for
/// a program control flow to avoid deadlock situations.
///
/// Danger: this facility is intended for use in test and
/// debugging scenarios. In normal Pulumi programs, please
/// consider using `.Apply` instead to chain `Output[T]`
/// transformations without unpacking the underlying T. Doing
/// so preserves metadata such as resource dependencies that
/// is used by Pulumi engine to operate correctly. Using
/// `await o.GetValueAsync()` directly opens up a possibility
/// to introduce issues with lost metadata.
/// </summary>
/// <param name="output">The <see cref="Output{T}"/> to evaluate.</param>
public static Task<T> GetValueAsync<T>(Output<T> output)