TypeScript API Documentation for GLIB UNIX
API Version: 2.0
Library Version: 2.0.0
Generated with TypeDoc via ts-for-gir v5.2.0
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 GLibUnix.FDSourceFunc.
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 GLibUnix.FDSourceFunc.