Plugin background processing
See the main background processing documentation for details of running jobs in the background.
function backgroundCallback(name, fn)
Register a callback function to perform the background processing for a named job.
name
is the name of the job, without the plugin name prefix.
fn
is called with a single data
argument.