GLib.idle_source_new
function idle_source_new(): GLib.Source {
// Gjs wrapper for g_idle_source_new()
}
Creates a new idle source.
The source will not initially be associated with any GLib.MainContext and must be added to one with GLib.Source.prototype.attach before it will be executed. Note that the default priority for idle sources is %G_PRIORITY_DEFAULT_IDLE, as compared to other sources which have a default priority of %G_PRIORITY_DEFAULT.
- Returns
the newly-created idle source