function query_unix_fd(tag: void): GLib.IOCondition {
    // Gjs wrapper for g_source_query_unix_fd()

Queries the events reported for the fd corresponding to tag on source during the last poll.

The return value of this function is only defined when the function is called from the check or dispatch functions for 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


the tag from GLib.Source.add_unix_fd


the conditions reported on the fd