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

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