IoFunc
typealias IoFunc = (source: IoChannel, condition: IoCondition, <Error class: unknown class>?) -> Boolean
Specifies the type of function passed to g_io_add_watch() or g_io_add_watch_full(), which is called when the requested condition on a #GIOChannel is satisfied.
param
source
the #GIOChannel event sourceparam
condition
the condition which has been satisfiedparam
data
user data set in g_io_add_watch() or g_io_add_watch_full()return the function should return false if the event source should be removed