IOSchedulerJobFunc
Description:
[ CCode ( instance_pos = 2.9 ) ]
public delegate bool IOSchedulerJobFunc (IOSchedulerJob job, Cancellable? cancellable = null)
public delegate bool IOSchedulerJobFunc (IOSchedulerJob job, Cancellable? cancellable = null)
I/O Job function.
Long-running jobs should periodically check the cancellable
to see if they have been cancelled.
Parameters:
job | |
cancellable |
optional Cancellable object, null to ignore. |
data |
data passed to the callback function |
Returns:
true if this function should be called again to complete the job, false if the job is complete (or cancelled) |
Namespace: GLib
Package: gio-2.0