GLib.test_timer_start
function test_timer_start(): void { // Gjs wrapper for g_test_timer_start() }
Start a timing test. Call GLib.test_timer_elapsed when the task is supposed to be done. Call this function again to restart the timer.
Since 2.16
function test_timer_start(): void { // Gjs wrapper for g_test_timer_start() }
Start a timing test. Call GLib.test_timer_elapsed when the task is supposed to be done. Call this function again to restart the timer.
Since 2.16