Gio.DBusProxy.prototype.set_default_timeout

function set_default_timeout(timeout_msec: Number(gint)): void {
    // Gjs wrapper for g_dbus_proxy_set_default_timeout()
}
  

Sets the timeout to use if -1 (specifying default timeout) is passed as timeout_msec in the Gio.DBusProxy.prototype.call and Gio.DBusProxy.prototype.call_sync functions.

See the Gio.DBusProxy.g_default_timeout property for more details.

Since 2.26

timeout_msec

Timeout in milliseconds.