dbg:wait( $request-id as xs:unsignedLong*, $timeout as xs:unsignedLong ) as xs:unsignedLong?
Wait until at least one of the given requests stops or all complete evaluating. Wait will return the empty sequence after a requested timeout if none of the requests have stopped. Otherwise, it returns the request-id of a stopped (or finished) request.
Parameters | |
---|---|
request-id | Request IDs. |
timeout | Requested timeout (in seconds). |
dbg:wait(23424324342, 10) => ()
Stack Overflow: Get the most useful answers to questions from the MarkLogic community, or ask your own question.