ResponseCompletionSource
class
Namespace: Orleans.Serialization.Invocation
A fulfillable promise.
public sealed class ResponseCompletionSource : IResponseCompletionSource, IValueTaskSource, IValueTaskSource<Response>Constructors
Methods
AsValueTaskReturns this instance as aSystem.Threading.Tasks.ValueTask.AsVoidValueTaskReturns this instance as aSystem.Threading.Tasks.ValueTask.CompleteCompletes this instance with the default result.Complete(Response)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(Response)Completes this instance with a result.
