Gio.ThreadedSocketService::run

connect('run', function (threadedSocketService, connection: Gio.SocketConnection, source_object: GObject.Object, ): Boolean);
  

The ::run signal is emitted in a worker thread in response to an incoming connection. This thread is dedicated to handling connection and may perform blocking IO. The signal handler need not return until the connection is closed.

threadedSocketService

instance of Gio.ThreadedSocketService that is emitting the signal

connection

a new Gio.SocketConnection object.

source_object

the source_object passed to Gio.SocketListener.prototype.add_address.

Returns

true to stop further signal handlers from being called