Changes

Jump to navigation Jump to search
300 bytes added ,  14:42, 3 July 2016
no edit summary
This [[Module Library|XQuery Module]] provides functions for organizing scheduled, queued , running and running cached jobs (. Jobs can be commands, queries, REST, RESTXQ and WebDAV client or HTTP requests).
=Conventions=
|-
| '''Summary'''
|Returns the ids of all jobs that are currently registered. The list includes scheduled, queued or executed, running jobs, and cached jobs.
|-
| '''Examples'''
|
* <code>jobs:list()</code> returns the same job id as [[#jobs:current|jobs:current]] if no other job is runningregistered.
* <code>jobs:list()[. != jobs:current()] ! jobs:stop(.)</code> stops and invalidates all asynchronous queries and results except for the current one.
|}
|-
| '''Summary'''
|Indicates if the evaluation of a job with the specified {{Code|$id}} has finished:* . As the ids of finished jobs will usually be discarded, unless caching is enabled, the function will also return <code>true</code> indicates that the job has either finished, or that the id is for unknownjobs.* <code>false</code> indicates that the job id is still scheduled, queued , or currently running.* <code>true</code> will be returned if the job has either finished, or if the id is unknown (because the ids of all finished jobs will not be cached).
|}
Bureaucrats, editor, reviewer, Administrators
13,550

edits

Navigation menu