Provides a similar interface as
TaskTResult,
but supports a covariant generic parameter.
Namespace: AccessFlowAssembly: AccessFlow (in AccessFlow.dll) Version: 1.0.0.2 (1.0.0.2)
Syntaxpublic interface IFuture<out T>
Public Interface IFuture(Of Out T)
generic<typename T>
public interface class IFuture
type IFuture<'T> = interface end
Type Parameters
- T
-
The type of the value encapsulated by the Future.
The IFutureT type exposes the following members.
Properties
| Name | Description |
---|
 | Value |
Waits for the IFutureT to complete and returns
the value represented by it.
|
Top
Methods
| Name | Description |
---|
 | GetAwaiter |
Returns the awaiter for the async/await language feature.
|
Top
Remarks
Objects implementing this interface can be awaited.
See Also