Hi Joe,

prof:sleep should do the job [1].

Hope this helps, 
Christian

[1] https://docs.basex.org/main/Profiling_Functions#prof:sleep



Joe Wicentowski <joewiz@gmail.com> schrieb am Fr., 27. Sept. 2024, 16:38:
Hi all,

I'm retrieving content from a list of URLs with BaseX (via the http:send-request function) and appear to be hitting rate limits on the remote server. I'd like to pause for 5 seconds between requests. In eXist, I'd use util:wait [1] to handle this pause. Is there an equivalent in BaseX? Or is there a different approach in BaseX?

Thanks!
Joe