ResponseCompletionSource<TResult> Class
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
A fulfillable promise.
public sealed class ResponseCompletionSource<TResult> : Orleans.Serialization.Invocation.IResponseCompletionSource, System.Threading.Tasks.Sources.IValueTaskSource, System.Threading.Tasks.Sources.IValueTaskSource<TResult>
type ResponseCompletionSource<'Result> = class
interface IResponseCompletionSource
interface IValueTaskSource<'Result>
interface IValueTaskSource
Public NotInheritable Class ResponseCompletionSource(Of TResult)
Implements IResponseCompletionSource, IValueTaskSource, IValueTaskSource(Of TResult)
- TResult
The underlying result type.
- Inheritance
-
ResponseCompletionSource<TResult>
- Implements
As |
Returns this instance as a ValueTask<TResult>. |
As |
Returns this instance as a ValueTask. |
Complete() |
Sets the result to the default value. |
Complete(Response) |
Sets the result. |
Complete(Response<TResult>) |
Completes this instance with a result. |
Get |
Gets the result of the IValueTaskSource<TResult>. |
Get |
Gets the status of the current operation. |
On |
Schedules the continuation action for this IValueTaskSource<TResult>. |
Reset() |
Resets this instance. |
Set |
Completes this instance with an exception. |
Set |
Completes this instance with a result. |
IValue |
Gets the result of the IValueTaskSource. |
Toode | Versioonid |
---|---|
.NET Orleans | 7.0.0, 8.0.0, 8.1.0, 8.2.0, 9.0.0 |