bitburner-src/doc/source/netscript/basicfunctions/sleep.rst
2021-03-12 02:51:56 -05:00

16 lines
292 B
ReStructuredText

sleep() Netscript Function
==========================
.. js:function:: sleep(n)
:RAM cost: 0 GB
:param number n: Number of milliseconds to sleep
Suspends the script for n milliseconds.
Example:
.. code-block:: javascript
sleep(3000); // Will wait 3 seconds.