Interface IMultipleTaskAwaiter<T>
Represents multiple started tasks, which can be individually awaited for in completion order.
Namespace: Responsible.Utilities
Assembly: Responsible.dll
Syntax
public interface IMultipleTaskAwaiter<T>
Type Parameters
Name | Description |
---|---|
T | Type of the tasks that this instance yields. |
Remarks
Intended only for internal use, but is public, because it's visible from other interfaces.
Properties
HasNext
Determines if there are more tasks to await for.
Declaration
bool HasNext { get; }
Property Value
Type | Description |
---|---|
Boolean | True, if there are more tasks to wait for, otherwise false. |
Methods
AwaitNext()
Awaits for the next task to complete
Declaration
Task<T> AwaitNext()
Returns
Type | Description |
---|---|
Task<T> | A task that represents the result of the next completed task. |