mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-11-30 11:33:47 +01:00
578 B
578 B
Home > bitburner > NS > asleep
NS.asleep() method
Suspends the script for n milliseconds. Doesn't block with concurrent calls.
Signature:
asleep(millis: number): Promise<true>;
Parameters
Parameter | Type | Description |
---|---|---|
millis | number | Number of milliseconds to sleep. |
Returns:
Promise<true>
Remarks
RAM cost: 0 GB