GLib.SourceFunc

function onSourceFunc(): Boolean {
}
  

Specifies the type of function passed to GLib.timeout_add, GLib.timeout_add, GLib.idle_add, and GLib.idle_add.

Returns

false if the source should be removed. #G_SOURCE_CONTINUE and #G_SOURCE_REMOVE are more memorable names for the return value.