# Yahoo! UI Library

### test 3.0.0

Yahoo! UI Library > test > Test.Wait
Search:
Filters
Show Private Show Protected Show Deprecated

## Class Test.Wait

Represents a stoppage in test execution to wait for an amount of time before continuing.

### Constructor

Test.Wait `( segment , delay )`

Parameters:
  `segment <Function>` A function to run when the wait is over.
  `delay <int>` The number of milliseconds to wait before running the code.

### Properties

#### delay - `int`

The delay before running the segment of code.

#### segment - `Function`

The segment of code to run when the wait is over.

Copyright © 2009 Yahoo! Inc. All rights reserved.