GLib.Source.prototype.remove_unix_fd

function remove_unix_fd(tag: void): void {
    // Gjs wrapper for g_source_remove_unix_fd()
}
  

Reverses the effect of a previous call to GLib.Source.add_unix_fd.

You only need to call this if you want to remove an fd from being watched while keeping the same source around. In the normal case you will just want to destroy the source.

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

tag

the tag from GLib.Source.add_unix_fd