wiki:Old/NodeHandler/Commands/wait

Version 2 (modified by max, 19 years ago) ( diff )

Documentation | NodeHandler | Commands | wait

wait: Wait

This command will wait for a given time before proceeding to the next command within the block. This command will not block execution of other blocks associated with other states.

Syntax: wait(timeInSeconds)

  • timeInSeconds: Time to wait in seconds.

Usage

whenAllInstalled {
  ...
  [500, 1000, 2000].each { |newRate|
    prop.rate = newRate
    wait 30
  }
}
Note: See TracWiki for help on using the wiki.