Wait for Events

This block allows the script to continue processing after one of the events described in Set Event occurs.

Properties

Values

Description

Timeout

Milliseconds

The default is 0. This causes the block to wait indefinitely for the event to occur.

If the event occurs before the timeout, the script automatically passes control to the Set Event block.

If the event times out, control passes to the block connected to the Wait for Event block, and not to the Set Event block.

Note

In scenarios where a Wait for Events block follows a Bridge Call block, and is then followed by Play Audio blocks, we recommend that you add a Wait block with a duration of at least 1 second.