GLib.test_trap_reached_timeout

function test_trap_reached_timeout(): Boolean {
    // Gjs wrapper for g_test_trap_reached_timeout()
}
  

Check the result of the last GLib.test_trap_subprocess call.

Since 2.16

Returns

true if the last test subprocess got killed due to a timeout.