WaitAny
WaitAny
Section titled “WaitAny ”When WaitAny is reached in your application’s process flow, it waits a specified period of time (or indefinitely) for the first task from a specified list of Tasks to complete.
Properties
Section titled “Properties ”Tasks
Section titled “Tasks ”The tasks to wait for.
The wait will be for the first task from this list to complete.
Click the editor icon to add a list of tasks.
Use timeout
Section titled “Use timeout ”If selected, wait until a specified timeout has elapsed.
If not selected, the wait will be indefinite.
Timeout
Section titled “Timeout ”Timeout in milliseconds.
Only displayed when Use timeout is selected.
Definition
Section titled “Definition ”WaitAny returns values in the following variables for the first Task that completes:
- WaitAny
- Task
- Id (Int32)
- IsCompleted (Boolean)
- IsCompletedSuccessfully (Boolean)
- IsFaulted (Boolean)
- Error (String)
- Task
When Use timeout is selected, the HasTimedOut boolean variable also becomes available.