GLib.IOFunc

function onIOFunc(source: GLib.IOChannel, condition: GLib.IOCondition, data: void): Boolean {
}
  

Specifies the type of function passed to GLib.io_add_watch or GLib.io_add_watch, which is called when the requested condition on a GLib.IOChannel is satisfied.

source

the GLib.IOChannel event source

condition

the condition which has been satisfied

data

user data set in GLib.io_add_watch or GLib.io_add_watch

Returns

the function should return false if the event source should be removed