PollableSourceFunc


Description:

[ CCode ( instance_pos = 1.9 ) ]
[ Version ( since = "2.28" ) ]
public delegate bool PollableSourceFunc (Object pollable_stream)

This is the function type of the callback used for the SocketSource returned by create_source and create_source.

Parameters:

pollable_stream

the PollableInputStream or PollableOutputStream

user_data

data passed in by the user.

Returns:

it should return false if the source should be removed.


Namespace: GLib
Package: gio-2.0



2022 vala-language.org