xdmp.sleep( msec as Number ) as null
Delays for a specific amount of time.
// sleep for 1 second xdmp.sleep(1000); => ()