[Home](./index.md) > [bitburner](./bitburner.md) > [NS](./bitburner.ns.md) > [sleep](./bitburner.ns.sleep.md)
## NS.sleep() method
Suspends the script for n milliseconds.
Signature:
```typescript
sleep(millis: number): Promise;
```
## Parameters
| Parameter | Type | Description |
| --- | --- | --- |
| millis | number | Number of milliseconds to sleep. |
Returns:
Promise<void>
## Remarks
RAM cost: 0 GB