[ Table Of Contents | Keyword Index ]

ns_sleep(n) 4.99 "NaviServer Built-in Commands"

NAME

ns_sleep - Sleep for a specified number of seconds

TABLE OF CONTENTS

    TABLE OF CONTENTS
    SYNOPSIS
    DESCRIPTION
    COMMANDS
    EXAMPLES
    SEE ALSO

SYNOPSIS

ns_sleep seconds

DESCRIPTION

Sleeps for the number of seconds specified in seconds.

COMMANDS

ns_sleep seconds
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.

EXAMPLES

 
   % ns_sleep 2

SEE ALSO

nsd