TypeScript API Documentation for GLIB
API Version: 2.0
Library Version: 2.86.4
Generated with TypeDoc via ts-for-gir v4.0.0-beta.40
Since 2.36
Creates a GLib.Source to watch for a particular I/O condition on a file descriptor.
The source will never close the fd — you must do it yourself.
fd
Any callback attached to the returned GLib.Source must have type GLib.UnixFDSourceFunc.
a file descriptor
I/O conditions to watch for on fd
the newly created GLib.Source
2.36
Creates a GLib.Source to watch for a particular I/O condition on a file descriptor.
The source will never close the
fd— you must do it yourself.Any callback attached to the returned GLib.Source must have type GLib.UnixFDSourceFunc.