This is the function type of the callback used for the SocketSource returned by create_source and create_source.
pollable_stream | |
user_data |
data passed in by the user. |
it should return false if the source should be removed. |