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

[1] https://exist-db.org/exist/apps/fundocs/view.html?uri=http://exist-db.org/xquery/util#wait.1