Gio.FileMonitor.prototype.set_rate_limit

function set_rate_limit(limit_msecs: Number(gint)): void {
    // Gjs wrapper for g_file_monitor_set_rate_limit()
}
  

Sets the rate limit to which the monitor will report consecutive change events to the same file.

limit_msecs

a non-negative integer with the limit in milliseconds to poll for changes