<!-- Do not edit this file. It is automatically generated by API Documenter. --> [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. <b>Signature:</b> ```typescript asleep(millis: number): Promise<void>; ``` ## Parameters | Parameter | Type | Description | | --- | --- | --- | | millis | number | Number of milliseconds to sleep. | <b>Returns:</b> Promise<void> ## Remarks RAM cost: 0 GB