TaskCompletionPipe<T>
public class TaskCompletionPipe<T> : IDynamicInterfaceCastable, IAsyncEnumerable<T>, IResettable where T : Task
Represents a pipe to process asynchronous tasks as they complete.
public TaskCompletionPipe()
Initializes a new pipe.
Adds the task to this pipe.
Adds the task to this pipe.
Marks the pipe as being complete, meaning no more items will be added to it.
Gets the enumerator to get the completed tasks.
Reuses the pipe.
Attempts to read the completed task synchronously.
Attempts to read the completed task synchronously.
Waits for the first completed task.
Waits for the first completed task.