Loading TOC...

MarkLogic 9 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)
=> ()

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