bitburner-src/markdown/bitburner.ns.asleep.md
2021-11-03 20:19:52 -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<void>;

Parameters

Parameter Type Description
millis number Number of milliseconds to sleep.

Returns:

Promise<void>

Remarks

RAM cost: 0 GB