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 | One or more request IDs. |
timeout | Requested timeout (in seconds). |
dbg:wait(23424324342, 10) => ()