# Sleep()

Causes the current thread to stop processing for a specified period of time.

```
Sleep( duration=number );
```

**Returns:** void

# Arguments

| Argument | Type | Required | Description | Default |
|----------|------|----------|-------------|---------|
| duration | number | Yes | Time, in milliseconds, to stop processing the thread. |  |

# Examples

```cfml
timer label='Sleep for 1 second' type='inline' {
    sleep( 1000 );
};
// Sleep for 1 second: 1000ms

writeOutput('<br>');

timer label='Sleep for 2.5 seconds' type='inline' {
    sleep( 2500 );
};
// Sleep for 2.5 seconds: 2500ms
```





