Gio.CancellableSourceFunc

function onCancellableSourceFunc(cancellable: Gio.Cancellable): Boolean {
}
  

This is the function type of the callback used for the GLib.Source returned by Gio.Cancellable.source_new.

Since 2.28

cancellable

the Gio.Cancellable

Returns

it should return false if the source should be removed.