wiki:Old/NodeHandler/Commands/wait

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
  }
}
Last modified 19 years ago Last modified on Apr 13, 2006, 1:20:52 PM
Note: See TracWiki for help on using the wiki.