TSTool / Command / Wait
Wait command waits a specified time before continuing. Examples of use include:
- Testing to simulate slow datastores or long processes.
- Waiting for an external process to finish. Functionality will be added in the future to wait for a file to exist or not exist.
The TSTool Run / Cancel Command Processing (interrupt processing) menu will initiate an interrupt on the processor.
Wait command uses an internal wait,
such interrupts are treated differently than interrupting other commands and may generate warnings that have obscure wording.
This case will be evaluated and enhanced over time.
In most cases users will not need to interrupt command workflows that are using
The following dialog is used to edit the command and illustrates the command syntax.
Wait Command Editor Showing Conditions Test (see also the full-size image)
The command syntax is as follows:
|The number of seconds to wait, can be specified using
||None – must be specified.|
||The number of seconds between progress updates in the main TSTool progress indicator, can be specified using
See the automated tests.