GLib.PollFD

const GLib = imports.gi.GLib;

let pollFD = new GLib.PollFD({
    fd: value
    events: value
    revents: value
});
  

Represents a file descriptor, which events to poll for, and which events occurred.