function modify_unix_fd(tag: void, new_events: GLib.IOCondition): void {
    // Gjs wrapper for g_source_modify_unix_fd()

Updates the event mask to watch for the fd identified by tag.

tag is the tag returned from GLib.Source.add_unix_fd.

If you want to remove a fd, don't set its event mask to zero. Instead, call GLib.Source.prototype.remove_unix_fd.

This API is only intended to be used by implementations of GLib.Source. Do not call this API on a GLib.Source that you did not create.

As the name suggests, this function is not available on Windows.

Since 2.36


the tag from GLib.Source.add_unix_fd


the new event mask to watch