Gio.UnixMountMonitor.prototype.set_rate_limit

function set_rate_limit(limit_msec: Number(gint)): void {
    // Gjs wrapper for g_unix_mount_monitor_set_rate_limit()
}
  

Sets the rate limit to which the mount_monitor will report consecutive change events to the mount and mount point entry files.

Since 2.18

limit_msec

a integer with the limit in milliseconds to poll for changes.