ns_sleep(3) commands


ns_sleep seconds


This function causes the thread to sleep for the number of seconds specified in seconds.

The value of seconds should be a positive integer (or zero, in which case the function returns immediately). An error will result if seconds is not specified, if a negative integer is specified, or if a non-integer is specified.