MarkLogic Server 11.0 Product Documentation
xdmp:sleep

xdmp:sleep(
   $msec as xs:unsignedInt
) as empty-sequence()

Summary

Delays for a specific amount of time.

Parameters
msec The amount of time to sleep, in milliseconds.

Example

(: sleep for 1 second :)
xdmp:sleep(1000)
=> ()
Powered by MarkLogic Server | Terms of Use | Privacy Policy