Loading TOC...

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);
=> ()

Stack Overflow iconStack Overflow: Get the most useful answers to questions from the MarkLogic community, or ask your own question.