Interface IWorkActionSet
Represent a Set of Work Actions.
Namespace: Evergine.Components.WorkActions
Assembly: Evergine.Components.dll
Syntax
public interface IWorkActionSet
Methods
WaitAll()
Return an action that will be completed when all actions has been completed.
Declaration
IWorkAction WaitAll()
Returns
| Type | Description |
|---|---|
| IWorkAction | The task. |
WaitAny()
Return an action that will be completed when any actions has been completed.
Declaration
IWorkAction WaitAny()
Returns
| Type | Description |
|---|---|
| IWorkAction | The task. |
WaitCount(int)
Return an action that will be completed when all actions has been completed.
Declaration
IWorkAction WaitCount(int count)
Parameters
| Type | Name | Description |
|---|---|---|
| int | count | The Count value. |
Returns
| Type | Description |
|---|---|
| IWorkAction | The task. |
WaitPredicate(Func<bool, IWorkAction[]>)
Waits the predicate.
Declaration
IWorkAction WaitPredicate(Func<bool, IWorkAction[]> waitingTaskPredicate)
Parameters
| Type | Name | Description |
|---|---|---|
| Func<bool, IWorkAction[]> | waitingTaskPredicate | The waiting task predicate. |
Returns
| Type | Description |
|---|---|
| IWorkAction | The task. |