bitburner-src/markdown/bitburner.ns.sleep.md
Olivier Gagnon feb0430aff work on doc
2021-10-30 15:46:34 -04:00

537 B

Home > bitburner > NS > sleep

NS.sleep() method

Suspends the script for n milliseconds.

Signature:

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

Parameters

Parameter Type Description
millis number Number of milliseconds to sleep.

Returns:

Promise<void>

Remarks

RAM cost: 0 GB