IOSchedulerJobFunc


Description:

[ CCode ( instance_pos = 2.9 ) ]
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

a IOSchedulerJob.

cancellable

optional Cancellable object, null to ignore.

user_data

the data to pass to 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



2022 vala-language.org