bitburner-src/markdown/bitburner.ns.asleep.md
Olivier Gagnon f555c4567b update doc
2022-04-13 01:35:35 -04:00

30 lines
578 B
Markdown

<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) &gt; [bitburner](./bitburner.md) &gt; [NS](./bitburner.ns.md) &gt; [asleep](./bitburner.ns.asleep.md)
## NS.asleep() method
Suspends the script for n milliseconds. Doesn't block with concurrent calls.
<b>Signature:</b>
```typescript
asleep(millis: number): Promise<true>;
```
## Parameters
| Parameter | Type | Description |
| --- | --- | --- |
| millis | number | Number of milliseconds to sleep. |
<b>Returns:</b>
Promise&lt;true&gt;
## Remarks
RAM cost: 0 GB