Returns the number of background jobs currently registered in the RDesk job registry. A value greater than zero means at least one task is still running or has been submitted but not yet polled for completion.
This function is safe to call from the event loop or from tests without opening a window.
See also
rdesk_jobs_list() for more detail about each pending job.
