sleep() Netscript Function
==========================

.. js:function:: sleep([n = 0])

    :RAM cost: 0 GB
    :param number n: Number of milliseconds to sleep

    Suspends the script for n milliseconds.

    Example:

    .. code-block:: javascript

        await ns.sleep(3000); // Will wait 3 seconds.