ResponseCompletionSource<TResult>
class
Namespace: Orleans.Serialization.Invocation
A fulfillable promise.
public sealed class ResponseCompletionSource<TResult> : IResponseCompletionSource, IValueTaskSource, IValueTaskSource<TResult>Constructors
Methods
AsValueTaskReturns this instance as aSystem.Threading.Tasks.ValueTask.AsVoidValueTaskReturns this instance as aSystem.Threading.Tasks.ValueTask.CompleteSets the result to the default value.Complete(Response)Sets the result.Complete(Response<TResult>)Completes this instance with a result.GetResult(short)Gets the result of theSystem.Threading.Tasks.Sources.IValueTaskSource.GetStatus(short)Gets the status of the current operation.OnCompleted(Action<object>, object, short, ValueTaskSourceOnCompletedFlags)Schedules the continuation action for thisSystem.Threading.Tasks.Sources.IValueTaskSource.ResetResets this instance.SetException(Exception)Completes this instance with an exception.SetResult(TResult)Completes this instance with a result.
