src/Orleans.Serialization/Invocation/ResponseCompletionSource.cs
/// <summary>
/// Completes this instance with a result.
/// </summary>
/// <param name="value">The result value.</param>
Completes this instance with a result.
Completes this instance with a result .
public void Complete(Response<TResult> value)
        {
            if (value.Exception is { } exception)
            {
                SetException(exception);
            }
            else
            {
                SetResult(value.TypedResult);
            }
        }
public void Complete ( Response < TResult > value ) { if ( value . Exception is { } exception ) { SetException ( exception ) ; } else { SetResult ( value . TypedResult ) ; } }
Completes this instance with a result.
Completes this instance with a result .
value
Response<TResult>
The result value.
The result value .