Skip to content

Latest commit

 

History

History
29 lines (16 loc) · 578 Bytes

bitburner.ns.asleep.md

File metadata and controls

29 lines (16 loc) · 578 Bytes

Home > bitburner > NS > asleep

NS.asleep() method

Suspends the script for n milliseconds. Doesn't block with concurrent calls.

Signature:

asleep(millis: number): Promise<void>;

Parameters

Parameter Type Description
millis number Number of milliseconds to sleep.

Returns:

Promise<void>

Remarks

RAM cost: 0 GB