The wait statement suspends all ESL processing until the specified number of seconds has elapsed. The maximum time is determined by the SLEEPMAX configuration option, which defaults to 60 seconds.
In the following example, when ESL receives any input line from the Database application, it makes Chart visible and then waits approximately 10 seconds, queuing any stimuli that it might receive. After 10 seconds have elapsed, ESL processes any queued stimuli in the order in which they were received.
response to line from Database
make Chart visible
wait 10
The time that ESL waits is approximate. The actual elapsed time might be longer than the time you specify.