Gio.SocketClient.prototype.connect_finish

function connect_finish(result: Gio.AsyncResult): Gio.SocketConnection {
    // Gjs wrapper for g_socket_client_connect_finish()
}
  

Finishes an async connect operation. See Gio.SocketClient.prototype.connect_async

Since 2.22

result

a Gio.AsyncResult.

Returns

a Gio.SocketConnection on success, null on error.