GLib.UnixFDSourceFunc

function onUnixFDSourceFunc(fd: Number(gint), condition: GLib.IOCondition): Boolean {
}
  

The type of functions to be called when a UNIX fd watch source triggers.

fd

the fd that triggered the event

condition

the IO conditions reported on fd

Returns

false if the source should be removed