GLib.Source.prototype.get_ready_time

function get_ready_time(): Number(gint64) {
    // Gjs wrapper for g_source_get_ready_time()
}
  

Gets the "ready time" of source, as set by GLib.Source.prototype.set_ready_time.

Any time before the current monotonic time (including 0) is an indication that the source will fire immediately.

Returns

the monotonic ready time, -1 for "never"