Class TaskCompletionPipe
Provides various extension methods for TaskCompletionPipe<T> class.
Inherited Members
Namespace: DotNext.Threading.Tasks
Assembly: DotNext.Threading.dll
Syntax
public static class TaskCompletionPipe
Methods
| Edit this page View SourceGetConsumer<T>(TaskCompletionPipe<Task<T>>)
Gets asynchronous consumer.
Declaration
public static TaskCompletionPipe.Consumer<T> GetConsumer<T>(this TaskCompletionPipe<Task<T>> pipe)
Parameters
Type | Name | Description |
---|---|---|
TaskCompletionPipe<Task<T>> | pipe | The task completion pipe with typed tasks. |
Returns
Type | Description |
---|---|
TaskCompletionPipe.Consumer<T> | The asynchronous consuming collection. |
Type Parameters
Name | Description |
---|---|
T | The type of the elements in the consuming collection. |