GLib.Source.prototype.get_current_time

function get_current_time(timeval: GLib.TimeVal): void {
    // Gjs wrapper for g_source_get_current_time()
}
  

This function ignores source and is otherwise the same as GLib.get_current_time.

timeval

GLib.TimeVal structure in which to store current time.