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