TypeScript API Documentation for GIO
API Version: 2.0
Library Version: 2.86.4
Generated with TypeDoc via ts-for-gir v4.0.0-beta.40
Since 2.34
Utility method for Gio.PollableInputStream and Gio.PollableOutputStream implementations. Creates a new GLib.Source, as with g_pollable_source_new(), but also attaching child_source (with a dummy callback), and cancellable, if they are non-null.
g_pollable_source_new()
child_source
cancellable
null
the stream associated with the new source
Optional
optional child source to attach
optional Gio.Cancellable to attach
the new GLib.Source.
2.34
Utility method for Gio.PollableInputStream and Gio.PollableOutputStream implementations. Creates a new GLib.Source, as with
g_pollable_source_new(), but also attachingchild_source(with a dummy callback), andcancellable, if they are non-null.