tui.job.running
tui.job.running ID
Tells whether the background job ID is still pending, that is started with tui.job.run and its DONEFN not yet called.
Returns: 0 while the job is pending, 1 otherwise.
Example
tui.job.running report && return # a refresh is already on its way
See also: tui.job.cancel
