Interface IWorkActionSet
Represents a set of work actions.
Namespace: Evergine.Components.WorkActions
Assembly: Evergine.Components.dll
Syntax
public interface IWorkActionSet
Methods
WaitAll()
Returns an action that will be completed when all actions have been completed.
Declaration
IWorkAction WaitAll()
Returns
Type | Description |
---|---|
IWorkAction | The task. |
WaitAny()
Returns an action that will be completed when any action has been completed.
Declaration
IWorkAction WaitAny()
Returns
Type | Description |
---|---|
IWorkAction | The task. |
WaitCount(int)
Returns an action that will be completed when all actions have 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 for 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. |