|
TSequencer.Wait
|
Previous Top Next |
| Parameter | Description
|
| ctBlocks | The block(s) to trigger on. If one of these blocks arrives the condition is evaluated. A single block can simply be passed in as is. Multiple blocks have to be wrapped in a tuple.
|
| fCondition | The condition to evaluate when any of the above blocks arrives. If true the Wait() function finishes, otherwise it will block until the next arrival of a trigger block. The condition function must take an according number of parameters depending on oArgs. I.e. if you pass three values in the oArgs tuple fCondition() needs to have three argument parameters.
|
| oArgs: | Optional. A tuple with command arguments that get passed to the condition function.
|
| dwTimeout | Optional, timeout value in seconds. A TSeqTimeoutError is raised if the timeout value is met before the condition evaluates to true.
|