Gio.IOSchedulerJobFunc

function onIOSchedulerJobFunc(job: Gio.IOSchedulerJob, cancellable: Gio.Cancellable): Boolean {
}
  

I/O Job function.

Long-running jobs should periodically check the cancellable to see if they have been cancelled.

job

a Gio.IOSchedulerJob.

cancellable

optional Gio.Cancellable object, null to ignore.

Returns

true if this function should be called again to complete the job, false if the job is complete (or cancelled)