xdmp.sleep

xdmp.sleep(
   msec as Number
) as null

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