Gio.PollableSourceFunc
function onPollableSourceFunc(pollable_stream: GObject.Object): Boolean {
}
This is the function type of the callback used for the GLib.Source returned by Gio.PollableInputStream.prototype.create_source and Gio.PollableOutputStream.prototype.create_source.
Since 2.28
- pollable_stream
- Returns
it should return false if the source should be removed.