IoSchedulerJobFunc

typealias IoSchedulerJobFunc = (job: IoSchedulerJob, cancellable: Cancellable?, <Error class: unknown class>?) -> Boolean(source)

I/O Job function.

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

  • param job a #GIOSchedulerJob.

  • param cancellable optional #GCancellable object, null to ignore.

  • param data data passed to the callback function

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