TaskCompletionSourceExtensions Class |
Namespace: Rackspace.Threading
The TaskCompletionSourceExtensions type exposes the following members.
Name | Description | |
---|---|---|
SetFromFailedTaskTResult |
Transfers the result of a canceled or faulted Task to the TaskCompletionSourceTResult. | |
SetFromTaskTResult(TaskCompletionSourceTResult, Task, TResult) |
Transfers the result of a TaskTResult to a TaskCompletionSourceTResult,
using a specified result value when the task is in the RanToCompletion
state.
| |
SetFromTaskTSource, TResult(TaskCompletionSourceTResult, TaskTSource) |
Transfers the result of a TaskTResult to a TaskCompletionSourceTResult. | |
TrySetFromTaskTResult(TaskCompletionSourceTResult, Task, TResult) |
Attempts to transfer the result of a TaskTResult to a TaskCompletionSourceTResult,
using a specified result value when the task is in the RanToCompletion
state.
| |
TrySetFromTaskTSource, TResult(TaskCompletionSourceTResult, TaskTSource) |
Attempts to transfer the result of a TaskTResult to a TaskCompletionSourceTResult. |